mirror of https://gitee.com/karson/fastadmin.git
修复加载语言包时,输入模块名称时,无效
parent
b552ccd403
commit
3ea0b57b97
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue