summaryrefslogtreecommitdiff
path: root/classes/protected_handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/protected_handler.php')
-rw-r--r--classes/protected_handler.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/protected_handler.php b/classes/protected_handler.php
new file mode 100644
index 000000000..e8a6d40a7
--- /dev/null
+++ b/classes/protected_handler.php
@@ -0,0 +1,8 @@
+<?php
+class Protected_Handler extends Handler {
+
+ function before() {
+ return parent::before() && $_SESSION['uid'];
+ }
+}
+?>