ttrss/classes/protected_handler.php

9 lines
125 B
PHP

<?php
class Protected_Handler extends Handler {
function before() {
return parent::before() && $_SESSION['uid'];
}
}
?>