agriget/classes/handler/protected.php
2019-03-22 10:17:29 -04:00

8 lines
136 B
PHP

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