Merge pull request #69 from Jayin/patch-1

修复关闭路由错误
pull/204/MERGE
Karson 2020-08-19 21:43:51 +08:00 committed by GitHub
commit cb4c41e8bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ require __DIR__ . '/../thinkphp/base.php';
\think\Route::bind('\app\admin\command\Install', 'controller');
// 关闭路由
\think\App::route(true);
\think\App::route(false);
// 设置根url
\think\Url::root('');