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