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