2011-12-13 11:15:42 +01:00
|
|
|
<?php
|
2012-08-17 12:20:55 +02:00
|
|
|
class Handler_Protected extends Handler {
|
2011-12-13 11:15:42 +01:00
|
|
|
|
2012-07-05 20:43:44 +02:00
|
|
|
function before($method) {
|
|
|
|
return parent::before($method) && $_SESSION['uid'];
|
2011-12-13 11:15:42 +01:00
|
|
|
}
|
|
|
|
}
|