mirror of
https://gitee.com/zhc02/timely_service.git
synced 2025-06-17 02:49:58 +08:00
1
This commit is contained in:
parent
60e5df59e9
commit
fcf38c0c93
@ -15,6 +15,12 @@ namespace think;
|
||||
// 加载基础文件
|
||||
require __DIR__ . '/../thinkphp/base.php';
|
||||
|
||||
|
||||
if(!file_exists("install/lock")){
|
||||
$url=$_SERVER['HTTP_HOST'].trim($_SERVER['SCRIPT_NAME'],'index.php').'install/index.php';
|
||||
header("Location:http://$url");
|
||||
exit();
|
||||
}
|
||||
// 支持事先使用静态方法设置Request对象和Config对象
|
||||
|
||||
// 执行应用并响应
|
||||
|
Loading…
x
Reference in New Issue
Block a user