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