From 3ea0b57b9728234377033e398cb5ea1ee963b414 Mon Sep 17 00:00:00 2001 From: Ackleys <481422+ampllit@user.noreply.gitee.com> Date: Tue, 11 Feb 2020 16:27:45 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E5=8C=85=E6=97=B6,=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=90=8D=E7=A7=B0=E6=97=B6,=E6=97=A0?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Backend.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/common/controller/Backend.php b/application/common/controller/Backend.php index 896e0ae8..8ef4f650 100644 --- a/application/common/controller/Backend.php +++ b/application/common/controller/Backend.php @@ -229,6 +229,7 @@ class Backend extends Controller */ protected function loadlang($name) { + $name = Loader::parseName($name); Lang::load(APP_PATH . $this->request->module() . '/lang/' . $this->request->langset() . '/' . str_replace('.', '/', $name) . '.php'); }