369dbc19d6
add placeholder plugin/hook system
8 linhas
139 B
PHP
8 linhas
139 B
PHP
<?php
|
|
class Handler_Protected extends Handler {
|
|
|
|
function before($method) {
|
|
return parent::before($method) && $_SESSION['uid'];
|
|
}
|
|
}
|
|
?>
|