// +---------------------------------------------------------------------- // [ 应用入口文件 ] namespace think; use think\facade\Request; require __DIR__ . '/../vendor/autoload.php'; // 执行HTTP应用并响应 $http = (new App())->http; $response = $http->run(); $response->send(); $http->end($response); if(file_exists('../install.lock') != 'true'){ header('Location:'.Request::domain().'/install.php'); }