mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Replace some usages of getModel(), getController(), etc. in the Rhymix Framework
This commit is contained in:
parent
052930a6d4
commit
786c9c9b8c
5 changed files with 11 additions and 11 deletions
|
|
@ -68,7 +68,7 @@ class ConfigHelper
|
|||
{
|
||||
if (!isset(self::$_config_cache[$option[0]]))
|
||||
{
|
||||
self::$_config_cache[$option[0]] = getModel('module')->getModuleConfig($option[0]) ?: new stdClass;
|
||||
self::$_config_cache[$option[0]] = \ModuleModel::getInstance()->getModuleConfig($option[0]) ?: new \stdClass;
|
||||
}
|
||||
$options = explode('.', $option[1]);
|
||||
$temp = self::$_config_cache[$option[0]];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue