!27 命令行无法使用

Merge pull request !27 from 靳陆陆/master
feat/task1-c-wallet
Devil 2021-06-04 12:25:43 +08:00 committed by Gitee
commit a33d987405
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();