mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 15:51:28 +00:00
implement ProtectedHandler
This commit is contained in:
8
classes/protected_handler.php
Normal file
8
classes/protected_handler.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
class Protected_Handler extends Handler {
|
||||
|
||||
function before() {
|
||||
return parent::before() && $_SESSION['uid'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user