添加extra_file_list配置参数 加载公共函数文件

base.php文件中的函数文件独立为help.php 纳入extra_file_list配置 可以替换
This commit is contained in:
thinkphp
2015-12-28 22:47:12 +08:00
parent ca14916bbe
commit b767dcef11
4 changed files with 291 additions and 265 deletions

View File

@@ -9,6 +9,8 @@ return [
'app_status' => '',
// 扩展配置文件
'extra_config_list' => ['database', 'route'],
// 扩展函数文件
'extra_file_list' => [THINK_PATH . 'help' . EXT],
// 默认输出类型
'default_return_type' => 'html',
// 默认语言