ttrss/classes/handler/protected.php

8 lines
157 B
PHP
Raw Normal View History

2011-12-13 10:15:42 +00:00
<?php
class Handler_Protected extends Handler {
2011-12-13 10:15:42 +00:00
function before(string $method): bool {
return parent::before($method) && !empty($_SESSION['uid']);
2011-12-13 10:15:42 +00:00
}
}