예제 #1
0
 public function __construct()
 {
     parent::__construct(__CLASS__);
     $this->ajax = 1;
     insert_json_header();
     $this->Session = new SC();
     $this->Session->StartSession();
 }
예제 #2
0
 public function __construct($stdClass = null)
 {
     global $router, $match;
     parent::__construct($stdClass);
     $res = $this->IsLogin();
     if ($res == false && !in_array($stdClass, explode(",", LOGIN_MODULE))) {
         ShowMsg(parent::_Lang("error_any"), $router->url('admin_login'));
     }
     $this->log = new SystemLog();
 }
예제 #3
0
 public function __construct($stdClass = null)
 {
     global $router, $match;
     $this->Session = new SC();
     $this->Session->StartSession();
     parent::__construct($stdClass);
     $this->stdClass = $stdClass;
     $res = true;
     if (!in_array($this->stdClass, unserialize(WEB_ICORE_ACTION))) {
         $res = $this->IsLogin();
     }
     if ($res == false) {
         $this->ajax = 1;
         ShowMsg(parent::_CLang("error_nologin"), $router->url('icore_login'));
     }
 }
예제 #4
0
파일: pubdata.php 프로젝트: vyouzhis/phpdbi
 public function __construct()
 {
     parent::__construct(__CLASS__);
 }