diff --git a/public/adminapi.php b/public/adminapi.php new file mode 100644 index 00000000..16681618 --- /dev/null +++ b/public/adminapi.php @@ -0,0 +1,25 @@ + +// +---------------------------------------------------------------------- + +// [ 应用入口文件 ] +namespace think; + +require __DIR__ . '/../vendor/autoload.php'; + +define('ROOT_PATH',$_SERVER['DOCUMENT_ROOT']); +// 执行HTTP应用并响应 +$http = (new App())->http; + +$response = $http->run(); + +$response->send(); + +$http->end($response);