mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update lang.php
This commit is contained in:
parent
f6226a1b5f
commit
e252f9ba78
@ -18,6 +18,10 @@ return [
|
||||
'default_lang' => 'zh-cn',
|
||||
// 允许的语言列表
|
||||
'allow_lang_list' => ['zh-cn'],
|
||||
// 转义为对应语言包名称
|
||||
'accept_language' => [
|
||||
'zh-hans-cn' => 'zh-cn',
|
||||
],
|
||||
// 多语言自动侦测变量名
|
||||
'detect_var' => 'lang',
|
||||
// 多语言 Cookie 变量
|
||||
@ -30,8 +34,4 @@ return [
|
||||
'allow_group' => false,
|
||||
// 扩展语言包
|
||||
'extend_list' => [],
|
||||
// 转义为对应语言包名称
|
||||
'accept_language' => [
|
||||
'zh-hans-cn' => 'zh-cn',
|
||||
],
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user