diff options
author | Andrew Dolgov <[email protected]> | 2012-08-17 14:20:55 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-17 14:22:33 +0400 |
commit | 369dbc19d6ae35c97a2306ae4821c7812e2f24b2 (patch) | |
tree | fff54920611300f99e0898874e0de04c99ac5586 /classes/handler/protected.php | |
parent | 3d2c9f5adfdc51642143d9fecf31ee353735bb8e (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.php | 8 |
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']; + } +} +?> |