示例#1
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'));
     }
 }