From 615802c0b6b9ed742da9c589935a3d24ad98a37f Mon Sep 17 00:00:00 2001 From: devil_gong Date: Mon, 17 Dec 2018 16:04:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=85=B3=E9=97=AD=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/core.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/core.php b/public/core.php index 457f74724..27b20bc40 100755 --- a/public/core.php +++ b/public/core.php @@ -32,11 +32,11 @@ $request_url = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; define('__MY_VIEW_URL__', substr(__MY_URL__, 0, -1).$request_url); // 检测是否是新安装 -if(is_dir("./install") && !file_exists("./install/install.lock")) -{ - $url = __MY_URL__.'install/index.php'; - exit(header('location:'.$url)); -} +// if(is_dir("./install") && !file_exists("./install/install.lock")) +// { +// $url = __MY_URL__.'install/index.php'; +// exit(header('location:'.$url)); +// } // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false define('APP_DEBUG', true); -- GitLab