summaryrefslogtreecommitdiff
path: root/classes/protected_handler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-13 14:15:42 +0400
committerAndrew Dolgov <[email protected]>2011-12-13 14:18:18 +0400
commit46da73c255353a3f874d9742d7b2f9c64e7607b5 (patch)
tree8cae462d2ce3067577ba13fe238c63a0c0b70075 /classes/protected_handler.php
parent8e17d6636ec4035ee7fa0fdec335112a7eb08a16 (diff)
implement ProtectedHandler
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'];
+ }
+}
+?>