From d0e41d1d6251c4152540f7aaeece81b67497a92a Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Thu, 21 Apr 2022 13:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E3=80=91=E5=AE=89=E8=A3=85=E6=96=87=E4=BB=B6=E7=94=9F=E6=88=90?= =?UTF-8?q?=E5=88=B0public=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/public/index.php | 2 +- crmeb/public/install/index.php | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/crmeb/public/index.php b/crmeb/public/index.php index 1e41581d1..cc3331638 100755 --- a/crmeb/public/index.php +++ b/crmeb/public/index.php @@ -15,7 +15,7 @@ namespace think; define('DS', DIRECTORY_SEPARATOR); //检测是否已安装CRMEB系统 -if(file_exists("./install/") && !file_exists("./install/install.lock")){ +if(file_exists("./install/") && !file_exists("./install.lock")){ if($_SERVER['PHP_SELF'] != '/index.php'){ header("Content-type: text/html; charset=utf-8"); exit("请在域名根目录下安装,如:
www.xxx.com/index.php 正确
www.xxx.com/www/index.php 错误,域名后面不能圈套目录, 但项目没有根目录存放限制,可以放在任意目录,apache虚拟主机配置一下即可"); diff --git a/crmeb/public/install/index.php b/crmeb/public/install/index.php index 24f6fa1ad..bd54485f8 100644 --- a/crmeb/public/install/index.php +++ b/crmeb/public/install/index.php @@ -1,5 +1,4 @@