mirror of https://gitee.com/karson/fastadmin.git
修复关闭路由错误
parent
bcd1b7fb9c
commit
a6b4a1d355
|
|
@ -21,7 +21,7 @@ require __DIR__ . '/../thinkphp/base.php';
|
||||||
\think\Route::bind('\app\admin\command\Install', 'controller');
|
\think\Route::bind('\app\admin\command\Install', 'controller');
|
||||||
|
|
||||||
// 关闭路由
|
// 关闭路由
|
||||||
\think\App::route(true);
|
\think\App::route(false);
|
||||||
|
|
||||||
// 设置根url
|
// 设置根url
|
||||||
\think\Url::root('');
|
\think\Url::root('');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue