Beispiel #1
0
 /**
  * 前処理
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->layout = 'admin/login';
     // loginアクションをログインしなくても利用できるように設定
     $this->Auth->allow('login');
 }
Beispiel #2
0
 /**
  * 事前処理.
  */
 public function beforeFilter()
 {
     $this->autoRender = false;
     $this->Security->csrfCheck = false;
     $this->Security->validatePost = false;
     parent::beforeFilter();
 }
 /**
  * 前処理
  */
 public function beforeFilter()
 {
     $this->autoRender = false;
     $this->Security->csrfCheck = false;
     $this->Security->validatePost = false;
     $this->Auth->allow('index', 'image');
     parent::beforeFilter();
 }
Beispiel #4
0
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->isSmartphone = $this->_isSmartphone();
     if ($this->isSmartphone) {
         $this->theme = 'Smartphone';
     }
     $this->Security->validatePost = false;
 }
 /**
  * 前処理
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Security->validatePost = false;
 }
Beispiel #6
0
 function beforeFilter()
 {
     parent::beforeFilter();
     //The request has been black-holed
     $this->Security->validatePost = false;
 }
 /**
  * 前処理
  */
 public function beforeFilter()
 {
     parent::beforeFilter();
 }