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