Skip to content

Commit f2860f4

Browse files
committed
fix 命令行无法使用
1 parent 0261bb8 commit f2860f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

think

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ namespace think;
1515
// 加载基础文件
1616
require __DIR__ . '/thinkphp/base.php';
1717

18+
// 引入公共入口文件
19+
require __DIR__.'/public/core.php';
20+
1821
// 应用初始化
1922
Container::get('app')->path(__DIR__ . '/application/')->initialize();
2023

2124
// 控制台初始化
22-
Console::init();
25+
Console::init();

0 commit comments

Comments
 (0)