示例#1
0
 function run()
 {
     if (!$this->CustomerAuth->is_logged()) {
         $this->redirect_to_login();
         return false;
     }
     parent::run();
     return true;
 }
示例#2
0
 public function run()
 {
     parent::run();
     if (isset($_GET['id'])) {
         $this->_setId((string) @$_GET['id']);
     }
     if (!$this->is_customer_logged() && !in_array($this->get_action_name(), array('default', 'send_email')) && !$this->_getId()) {
         throw new ExceptionProcessing(24);
     }
     $this->determine_action();
 }
示例#3
0
 public function run()
 {
     parent::run();
     $this->determine_action();
 }