ttrss/classes/Handler_Protected.php

8 lines
157 B
PHP
Raw Normal View History

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