修复关闭路由错误

pull/204/MERGE
Jayin Ton 2020-07-06 16:16:13 +08:00 committed by GitHub
parent bcd1b7fb9c
commit a6b4a1d355
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('');