コード例 #1
0
ファイル: admin_model.inc.php プロジェクト: tv13/bambitav
 function run()
 {
     if (!$this->CustomerAuth->is_logged()) {
         $this->redirect_to_login();
         return false;
     }
     parent::run();
     return true;
 }
コード例 #2
0
ファイル: model.inc.php プロジェクト: tv13/bambitav
 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
ファイル: model.inc.php プロジェクト: tv13/bambitav
 public function run()
 {
     parent::run();
     $this->determine_action();
 }