public function beforeFilter()
 {
     parent::beforeFilter();
     $this->Auth->allow();
     $this->initPermissions();
     //die(pr($this->RequestHandler));
     $this->checkCategory();
 }
 public function beforeFilter()
 {
     if (in_array($this->request->params['action'], array("index", "debugger", "calc_cart", "invoice"))) {
         $this->enforce_ssl = true;
     }
     parent::beforeFilter();
     $this->initPermissions();
     $this->Auth->allow("*");
 }
 public function beforeFilter()
 {
     parent::beforeFilter();
     $this->initPermissions();
     $this->Auth->allow("*");
 }