From d8dfba1bfd3d0461a22fe7cc098a36b84dd4135d Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 1 Feb 2016 09:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Lang=E7=B1=BBload=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E4=B8=80=E5=A4=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Lang.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Lang.php b/library/think/Lang.php index 5f145c9d..2b7774b6 100644 --- a/library/think/Lang.php +++ b/library/think/Lang.php @@ -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; }