多语言功能改进

This commit is contained in:
Axios
2017-04-10 13:34:34 +08:00
committed by ThinkPHP
parent c0a65ccc9c
commit f342734c91

View File

@@ -25,7 +25,7 @@ class Lang
protected static $langCookieExpire = 3600;
// 允许语言列表
protected static $allowLangList = [];
// Accept-Language转义为对应语言包名称 系统默认配置
private static $acceptLanguage = ['zh-hans-cn'=>'zh-cn'];
// 设定当前的语言