public function preDispatch() { #be sure to disrupt all actions if (parent::preDispatch() === false) { $this->_forward('log-in', 'index', 'admin'); return false; } }
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; } }