mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
rework class system to use subdirectories
add placeholder plugin/hook system
This commit is contained in:
8
classes/handler/protected.php
Normal file
8
classes/handler/protected.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
class Handler_Protected extends Handler {
|
||||
|
||||
function before($method) {
|
||||
return parent::before($method) && $_SESSION['uid'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user