function beforefilter() { parent::beforefilter(); $allowed = array(); $this->checklogin($allowed); $this->adminbreadcrumb(); }
function beforefilter() { parent::beforefilter(); //$this->Auth->allow(); $allowed = array("login", "logout", "forgotpassword", "confirmation", "getcountrystatecity"); $this->checklogin($allowed); $this->adminbreadcrumb(); }
function beforeFilter() { if (isset($this->params['url']['shop'])) { parent::beforefilter(); } else { Configure::load('shopify'); $this->initLanguage(); } }
function beforefilter() { if ($this->params['action'] == 'login') { if ($this->Cookie->read('Auth.User') && !$this->Session->read("Auth.User.id")) { $this->login(); } } if ($this->params['action'] == 'logout') { $this->logout(); } parent::beforefilter(); $this->Auth->allow("login", "logout", "signup", "newpassword", "requestaccount", "forgotpassword", "getindustry", "getstates", "confirmregisteration", "Captcha", "choosetype", "viewprofile", "loginwith"); $admin = $this->Session->read("admin"); $this->checklogin(); }
function beforeRender() { parent::beforefilter(); }
function beforefilter() { parent::beforefilter(); $admin = $this->Session->read("admin"); $this->checklogin(); }
public function beforeRender() { parent::beforefilter(); //set the layout $this->layout = 'new_tall_header_w_sidebar'; }
function beforefilter() { parent::beforefilter(); //$this->Book->changeOddsAllContents(8); }
function beforefilter() { parent::beforefilter(); $this->checklogin(); }
function beforefilter() { parent::beforefilter(); $this->checklogin(); $this->Auth->allow("search", "view", "viewratings", "viewrecent", "viewallcourse", "userrelatedcourses", "ipnhandler", "updatecoursecontent"); }
function beforefilter() { parent::beforefilter(); $this->checksession(); $this->san = new sanitize(); }
function beforefilter() { parent::beforefilter(); $this->checklogin(); $this->adminbreadcrumb(); }
function beforefilter() { parent::beforefilter(); $this->Auth->allow(); }