Example #1
0
 public function preDispatch()
 {
     #be sure to disrupt all actions
     if (parent::preDispatch() === false) {
         $this->_forward('log-in', 'index', 'admin');
         return false;
     }
 }
Example #2
0
 public function preDispatch()
 {
     #be sure to disrupt all actions
     if (parent::preDispatch() === false || $this->checkPanelPermission(Reactor_Acl::ACCESS_ADMIN_USERS_PANEL, true) === false) {
         $this->_forward('index', 'index', 'admin');
         return false;
     }
 }