9 lines
125 B
PHP
9 lines
125 B
PHP
|
<?php
|
||
|
class Protected_Handler extends Handler {
|
||
|
|
||
|
function before() {
|
||
|
return parent::before() && $_SESSION['uid'];
|
||
|
}
|
||
|
}
|
||
|
?>
|