优化安装程序

This commit is contained in:
2020-04-14 15:03:10 +08:00
parent 30cb23b68b
commit 6f9b4db367
2 changed files with 4 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ require __DIR__ . '/../vendor/autoload.php';
$app = new App();
if (!is_file($app->getRootPath() . '.env') || !is_file($app->getRootPath() . 'install.lock')) {
header('Location: install.php');exit();
header('Location: /install.php');exit();
}
// 执行HTTP应用并响应