mirror of https://gitee.com/karson/fastadmin.git
commit
802346dd1f
|
|
@ -229,6 +229,7 @@ class Backend extends Controller
|
||||||
*/
|
*/
|
||||||
protected function loadlang($name)
|
protected function loadlang($name)
|
||||||
{
|
{
|
||||||
|
$name = Loader::parseName($name);
|
||||||
Lang::load(APP_PATH . $this->request->module() . '/lang/' . $this->request->langset() . '/' . str_replace('.', '/', $name) . '.php');
|
Lang::load(APP_PATH . $this->request->module() . '/lang/' . $this->request->langset() . '/' . str_replace('.', '/', $name) . '.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue