diff --git a/index.php b/index.php index 132dabb..a26002c 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,7 @@ $pathinfo = pathinfo($_SERVER['PHP_SELF']); $path = str_replace("/" . $pathinfo['basename'], "", $_SERVER['PHP_SELF']); define("ROOT", str_replace("\\", "/", __DIR__)); define("DOCROOT", $path); -if(!file_exists(ROOT . "/include/data/config.php")) { +if(!file_exists(ROOT . "/include/data/config.php") && !isset($_GET['installed'])) { echo ""; exit; } diff --git a/install/index.php b/install/index.php index f73b346..b927893 100644 --- a/install/index.php +++ b/install/index.php @@ -1,17 +1,11 @@

安装完成,立即使用。

- - - + diff --git a/install/template/locked.html b/install/template/locked.html index efa65c0..61c08d2 100644 --- a/install/template/locked.html +++ b/install/template/locked.html @@ -28,6 +28,9 @@

PHPMC 7 官方网站:https://www.phpmc.cn/


PHPMC 7 已经安装过了,重新安装请删除 install 目录下的 install.lock

+
+ +