// +---------------------------------------------------------------------- // [ 应用入口文件 ] namespace think; header('Access-Control-Allow-Origin: *'); require __DIR__ . '/../vendor/autoload.php'; if (!file_exists(__DIR__ .'/../config/install.lock')) { header("location:/install/install.php"); exit; } // 执行HTTP应用并响应 $http = (new App())->http; $response = $http->run(); $response->send(); $http->end($response);