From c03c337f8ab67469588210c5591f12e91ea27265 Mon Sep 17 00:00:00 2001 From: Devil Date: Tue, 27 Jul 2021 23:04:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86=E5=85=A5?= =?UTF-8?q?=E5=8F=A3=E6=96=87=E4=BB=B6=E6=A0=B9=E7=9B=AE=E5=BD=95=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E5=AE=9A=E4=B9=89=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin.php b/admin.php index 9333485e9..bc9f9a26d 100644 --- a/admin.php +++ b/admin.php @@ -12,15 +12,15 @@ // [ 后台入口文件 ] namespace think; +// 根目录入口 +define('IS_ROOT_ACCESS', true); + // 引入公共入口文件 require __DIR__.'/public/core.php'; // 加载基础文件 require __DIR__ . '/vendor/autoload.php'; -// 根目录入口 -define('IS_ROOT_ACCESS', true); - // 执行HTTP应用并响应 $http = (new App())->http; $response = $http->name('admin')->run();