mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正Lang类load方法一处错误
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user