mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
多语言功能改进
This commit is contained in:
@@ -25,7 +25,7 @@ class Lang
|
|||||||
protected static $langCookieExpire = 3600;
|
protected static $langCookieExpire = 3600;
|
||||||
// 允许语言列表
|
// 允许语言列表
|
||||||
protected static $allowLangList = [];
|
protected static $allowLangList = [];
|
||||||
|
// Accept-Language转义为对应语言包名称 系统默认配置
|
||||||
private static $acceptLanguage = ['zh-hans-cn'=>'zh-cn'];
|
private static $acceptLanguage = ['zh-hans-cn'=>'zh-cn'];
|
||||||
|
|
||||||
// 设定当前的语言
|
// 设定当前的语言
|
||||||
|
|||||||
Reference in New Issue
Block a user