瀏覽代碼

Merge pull request #69 from Jayin/patch-1

修复关闭路由错误
Karson 4 年之前
父節點
當前提交
cb4c41e8bf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/install.php

+ 1 - 1
public/install.php

@@ -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('');