|
@@ -13,6 +13,10 @@ class Core
|
|
|
|
|
|
public function __construct()
|
|
|
{
|
|
|
+ $config = Dever::db('setting/base')->one();
|
|
|
+ if($config['type'] == 2){
|
|
|
+ Dever::alert('系统正在维护中', -4);
|
|
|
+ }
|
|
|
$this->uid = Dever::load('passport/user')->check(false);
|
|
|
if ($this->uid <= 0) {
|
|
|
//$this->uid = 4133;
|