diff options
author | Andrew Dolgov <[email protected]> | 2011-12-13 15:08:07 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-13 15:08:07 +0400 |
commit | d043c0069ed6e7e33e5ee019eca725fa4029ef1e (patch) | |
tree | 258ff28f95fa10e55af5bfb47168c12f85bf97dd /classes/protected_handler.php | |
parent | 43dd8898bd8d82d526b6d56b9f6b2afd53af9162 (diff) | |
parent | 80edb8b4d7002edffbf26da4bf98c51e32dd51b6 (diff) |
Merge branch 'tiny-oop'
Diffstat (limited to 'classes/protected_handler.php')
-rw-r--r-- | classes/protected_handler.php | 8 |
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']; + } +} +?> |