fix 命令行无法使用

feat/task1-c-wallet
靳陆陆 2021-06-04 11:41:56 +08:00
parent 0261bb878d
commit f2860f4507
1 changed files with 4 additions and 1 deletions

5
think
View File

@ -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();
Console::init();