/** * 前処理 */ public function beforeFilter() { parent::beforeFilter(); $this->layout = 'admin/login'; // loginアクションをログインしなくても利用できるように設定 $this->Auth->allow('login'); }
/** * 事前処理. */ 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(); }
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; }
function beforeFilter() { parent::beforeFilter(); //The request has been black-holed $this->Security->validatePost = false; }
/** * 前処理 */ public function beforeFilter() { parent::beforeFilter(); }