v1.0.1修复优化
This commit is contained in:
1 file changed
+10
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
// 首页入口 - 根据安装状态自动路由
|
||||
$configFile = __DIR__ . '/../config/db-config.json';
|
||||
if (file_exists($configFile)) {
|
||||
header('Location: /login.php');
|
||||
exit;
|
||||
} else {
|
||||
header('Location: /install.php');
|
||||
exit;
|
||||
}
|
||||
Reference in new issue
Block a user