Example #1
0
 function beforefilter()
 {
     parent::beforefilter();
     $allowed = array();
     $this->checklogin($allowed);
     $this->adminbreadcrumb();
 }
Example #2
0
 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();
     }
 }
Example #4
0
 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();
 }
Example #6
0
 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';
 }
Example #8
0
 function beforefilter()
 {
     parent::beforefilter();
     //$this->Book->changeOddsAllContents(8);
 }
 function beforefilter()
 {
     parent::beforefilter();
     $this->checklogin();
 }
Example #10
0
 function beforefilter()
 {
     parent::beforefilter();
     $this->checklogin();
     $this->Auth->allow("search", "view", "viewratings", "viewrecent", "viewallcourse", "userrelatedcourses", "ipnhandler", "updatecoursecontent");
 }
Example #11
0
 function beforefilter()
 {
     parent::beforefilter();
     $this->checksession();
     $this->san = new sanitize();
 }
 function beforefilter()
 {
     parent::beforefilter();
     $this->checklogin();
     $this->adminbreadcrumb();
 }
Example #13
0
 function beforefilter()
 {
     parent::beforefilter();
     $this->Auth->allow();
 }