mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Initial implementation of lang class that prefers PHP to XML
This commit is contained in:
parent
8ae2dba0b9
commit
f68e6118bc
3 changed files with 219 additions and 132 deletions
|
|
@ -1132,7 +1132,10 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
|
||||
// Load language files for the class
|
||||
Context::loadLang($class_path . 'lang');
|
||||
if($module !== 'module')
|
||||
{
|
||||
Context::loadLang($class_path . 'lang');
|
||||
}
|
||||
if($extend_module)
|
||||
{
|
||||
Context::loadLang(ModuleHandler::getModulePath($parent_module) . 'lang');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue