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