修改 think 框架引导文件 为绝对路径

在非本项目根目录下, 执行php think 命令行, 使用引用路径会导致后续代码无法执行.
pull/389/head
aa820t@126.com 2022-03-30 08:21:20 +00:00 committed by Gitee
parent 6470a8ed74
commit ff51380686
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

2
think
View File

@ -14,4 +14,4 @@
define('APP_PATH', __DIR__ . '/application/');
// 加载框架引导文件
require './thinkphp/console.php';
require __DIR__ . '/thinkphp/console.php';