ttrss/classes/protected_handler.php

9 lines
139 B
PHP

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