From f2860f4507c54d02389169e302dc78ea51f9358d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=B3=E9=99=86=E9=99=86?= <805964774@qq.com> Date: Fri, 4 Jun 2021 11:41:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=91=BD=E4=BB=A4=E8=A1=8C=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- think | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/think b/think index 1c2242998..366164799 100755 --- a/think +++ b/think @@ -15,8 +15,11 @@ namespace think; // 加载基础文件 require __DIR__ . '/thinkphp/base.php'; +// 引入公共入口文件 +require __DIR__.'/public/core.php'; + // 应用初始化 Container::get('app')->path(__DIR__ . '/application/')->initialize(); // 控制台初始化 -Console::init(); \ No newline at end of file +Console::init();