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 @@