Ejemplo n.º 1
0
 public function beforeFilter()
 {
     parent::beforeFilter();
     Configure::write('debug', 2);
     $this->Security->unlockedActions[] = 'admin_toggle';
     $this->Security->unlockedActions[] = 'admin_add';
     //        $this->Security->requirePost[] = 'admin_moveup';
     //        $this->Security->requirePost[] = 'admin_movedown';
 }
Ejemplo n.º 2
0
 public function afterConstruct()
 {
     parent::afterConstruct();
     $this->_setupAclComponent();
 }