summaryrefslogtreecommitdiff
path: root/classes/handler/protected.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-08-17 14:20:55 +0400
committerAndrew Dolgov <[email protected]>2012-08-17 14:22:33 +0400
commit369dbc19d6ae35c97a2306ae4821c7812e2f24b2 (patch)
treefff54920611300f99e0898874e0de04c99ac5586 /classes/handler/protected.php
parent3d2c9f5adfdc51642143d9fecf31ee353735bb8e (diff)
rework class system to use subdirectories
add placeholder plugin/hook system
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'];
+ }
+}
+?>