提交 c03c337f 编写于 作者: D Devil

后台管理入口文件根目录顺序定义调整

上级 240a201b
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册