From f8412b828f48b74e04851d0523fc11afc89f2117 Mon Sep 17 00:00:00 2001 From: F4NNIU Date: Tue, 19 Dec 2017 16:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=96=87=E4=BB=B6=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E6=94=B9=E4=B8=BA=20is=5Ffile=EF=BC=8C?= =?UTF-8?q?=E4=B8=BA=E4=BA=86=E6=8F=90=E9=AB=98=E6=95=88=E7=8E=87=EF=BC=8C?= =?UTF-8?q?=E6=9D=A5=E8=87=AA=E7=BE=A4=E5=8F=8B=20Jesns=20=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/admin.php | 4 ++-- public/index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/admin.php b/public/admin.php index bc87c1901..9f19b8465 100644 --- a/public/admin.php +++ b/public/admin.php @@ -16,7 +16,7 @@ define('APP_PATH', __DIR__ . '/../application/'); // 判断是否安装FastAdmin -if (!file_exists(APP_PATH . 'admin/command/Install/install.lock')) +if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) { header("location:./install.php"); exit; @@ -32,4 +32,4 @@ require __DIR__ . '/../thinkphp/base.php'; \think\Url::root(''); // 执行应用 -\think\App::run()->send(); \ No newline at end of file +\think\App::run()->send(); diff --git a/public/index.php b/public/index.php index 249ed699a..004784df8 100755 --- a/public/index.php +++ b/public/index.php @@ -14,7 +14,7 @@ define('APP_PATH', __DIR__ . '/../application/'); // 判断是否安装FastAdmin -if (!file_exists(APP_PATH . 'admin/command/Install/install.lock')) +if (!is_file(APP_PATH . 'admin/command/Install/install.lock')) { header("location:./install.php"); exit; -- Gitee