// +---------------------------------------------------------------------- use think\App; // [ 应用入口文件 ] require __DIR__ . '/../vendor/autoload.php'; // 执行HTTP应用并响应 $http = (new App())->http; $_SERVER['SCRIPT_NAME'] = '/mys/index.php'; $_SERVER['PHP_SELF'] = '/mys/index.php'; $response = $http->run(); $response->send(); $http->end($response);