Ejemplo n.º 1
0
 public function before()
 {
     parent::before();
     if (!$this->user->checkAccess(array(Model_User::ROLE_ADMIN))) {
         throw new HTTP_Exception_403();
     }
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     $this->redis = Controller_Base_preDispatch::_redis();
 }