/**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     if ($this->action == 'admin_generate') {
         $this->Security->csrfCheck = false;
     }
 }
 function beforeFilter()
 {
     parent::beforeFilter();
     if (!empty($this->Auth)) {
         $this->Auth->allow('admin_aco');
     }
 }
예제 #3
0
 function beforeFilter()
 {
     $this->loadModel(Configure::read('acl.aro.role.model'));
     $this->loadModel(Configure::read('acl.aro.user.model'));
     #$this->Auth->allow('*');
     parent::beforeFilter();
 }
 /**
  * beforeFilter
  *
  * @return void
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Security->requirePost('admin_toggle');
     if ($this->action == 'admin_toggle') {
         $this->Security->csrfCheck = false;
     }
 }
 function beforeFilter()
 {
     parent::beforeFilter();
 }
예제 #6
0
 function beforeFilter()
 {
     parent::beforeFilter();
     //$this->Auth->allow('*');
 }