添加入口文件
This commit is contained in:
parent
00a9cbf129
commit
64705e202c
@ -12,6 +12,8 @@
|
||||
// [ 应用入口文件 ]
|
||||
namespace think;
|
||||
|
||||
use think\facade\Request;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// 执行HTTP应用并响应
|
||||
@ -23,5 +25,5 @@ $response->send();
|
||||
|
||||
$http->end($response);
|
||||
if(file_exists('../install.lock') != 'true'){
|
||||
header('Location: http://www.tp6.com/install.php');
|
||||
header('Location:'.Request::domain().'/install.php');
|
||||
}
|
Loading…
Reference in New Issue
Block a user