public function __construct() { parent::__construct(__CLASS__); $this->ajax = 1; insert_json_header(); $this->Session = new SC(); $this->Session->StartSession(); }
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(); }
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')); } }
public function __construct() { parent::__construct(__CLASS__); }