路由配置文件独立 不需要extra_config_file配置 改进App类

This commit is contained in:
thinkphp
2016-08-03 14:34:08 +08:00
parent 5a9b606f4b
commit e71c3630cd
3 changed files with 6 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ return [
// 注册的根命名空间
'root_namespace' => [],
// 扩展配置文件
'extra_config_list' => ['database', 'route', 'validate'],
'extra_config_list' => ['database', 'validate'],
// 扩展函数文件
'extra_file_list' => [THINK_PATH . 'helper' . EXT],
// 默认输出类型