修正Lang类load方法一处错误

This commit is contained in:
thinkphp
2016-02-01 09:21:20 +08:00
parent 8f2055f72e
commit d8dfba1bfd

View File

@@ -68,7 +68,7 @@ class Lang
$lang = [];
foreach ($file as $_file) {
// 记录加载信息
APP_DEBUG && Log::record('[ LANG ] ' . $file, 'info');
APP_DEBUG && Log::record('[ LANG ] ' . $_file, 'info');
$_lang = is_file($_file) ? include $_file : [];
$lang = array_change_key_case($_lang) + $lang;
}