mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#2025 좀더 근본적인 해결: 모듈 autoload시 lang파일 자동 로딩하도록 변경
This commit is contained in:
parent
4c261abfb8
commit
0fafb1cf6b
4 changed files with 21 additions and 15 deletions
|
|
@ -91,12 +91,6 @@ class ModuleObject extends BaseObject
|
|||
$obj->user = Rhymix\Framework\Session::getMemberInfo();
|
||||
}
|
||||
|
||||
// Load language files.
|
||||
if($module !== 'module')
|
||||
{
|
||||
Context::loadLang($module_path . 'lang');
|
||||
}
|
||||
|
||||
// Return the instance.
|
||||
return $GLOBALS['_module_instances_'][$class_name] = $obj;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue