增加支持的语言列表配置lang_list 默认的语言GET变量名改为lang

This commit is contained in:
thinkphp
2015-12-19 23:06:59 +08:00
parent 883a55bbcb
commit c277f62f6a
2 changed files with 4 additions and 4 deletions

View File

@@ -25,6 +25,8 @@ return [
'default_timezone' => 'PRC',
// 是否开启多语言
'lang_switch_on' => false,
// 支持的多语言列表
'lang_list' => ['zh-cn'],
// +----------------------------------------------------------------------
// | 模块设置