mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
parent
5b063c10ad
commit
65f59c1e1b
1 changed files with 1 additions and 3 deletions
|
|
@ -1363,14 +1363,13 @@ class moduleModel extends module
|
||||||
|
|
||||||
if($config === false)
|
if($config === false)
|
||||||
{
|
{
|
||||||
if(!isset($GLOBALS['__ModuleConfig__'][$site_srl][$module]))
|
if(!$GLOBALS['__ModuleConfig__'][$site_srl][$module])
|
||||||
{
|
{
|
||||||
$args = new stdClass();
|
$args = new stdClass();
|
||||||
$args->module = $module;
|
$args->module = $module;
|
||||||
$args->site_srl = $site_srl;
|
$args->site_srl = $site_srl;
|
||||||
$output = executeQuery('module.getModuleConfig', $args);
|
$output = executeQuery('module.getModuleConfig', $args);
|
||||||
$config = unserialize($output->data->config);
|
$config = unserialize($output->data->config);
|
||||||
if(!$config) $config = new stdClass;
|
|
||||||
|
|
||||||
//insert in cache
|
//insert in cache
|
||||||
if($oCacheHandler->isSupport())
|
if($oCacheHandler->isSupport())
|
||||||
|
|
@ -1410,7 +1409,6 @@ class moduleModel extends module
|
||||||
$args->module_srl = $module_srl;
|
$args->module_srl = $module_srl;
|
||||||
$output = executeQuery('module.getModulePartConfig', $args);
|
$output = executeQuery('module.getModulePartConfig', $args);
|
||||||
$config = unserialize($output->data->config);
|
$config = unserialize($output->data->config);
|
||||||
if(!$config) $config = new stdClass;
|
|
||||||
|
|
||||||
//insert in cache
|
//insert in cache
|
||||||
if($oCacheHandler->isSupport())
|
if($oCacheHandler->isSupport())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue