diff --git a/app/index/controller/Base.php b/app/index/controller/Base.php index edd7468..2bd7250 100644 --- a/app/index/controller/Base.php +++ b/app/index/controller/Base.php @@ -40,7 +40,7 @@ class Base extends BaseController $this->assign('user_id', $this->userId); } //判断是否关闭站点。 - if (!web_config('web_close')) { + if (web_config('web_close')) { $this->error('网站暂时关闭!', '', 'stop'); } //判断后台统计配置是否开启 1 开启 diff --git a/public/template/default/pc/public/header.html b/public/template/default/pc/public/header.html index 449d039..660b71d 100644 --- a/public/template/default/pc/public/header.html +++ b/public/template/default/pc/public/header.html @@ -142,7 +142,7 @@ {else /} {/notempty} diff --git a/public/template/default/pc/user/login.html b/public/template/default/pc/user/login.html index dc8dd51..4fdc43a 100644 --- a/public/template/default/pc/user/login.html +++ b/public/template/default/pc/user/login.html @@ -25,14 +25,14 @@