mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
#133 PHP 5.4 이상에서의 호환성 개선
This commit is contained in:
parent
23406d1708
commit
1b60833bad
17 changed files with 78 additions and 31 deletions
|
|
@ -439,7 +439,7 @@ class module extends ModuleObject
|
|||
$output = executeQuery('module.updateMobileSkinFixModules');
|
||||
|
||||
$oModuleController = getController('module');
|
||||
if(!isset($moduleConfig)) $moduleConfig = new stdClass;
|
||||
if(!$moduleConfig) $moduleConfig = new stdClass;
|
||||
$moduleConfig->isUpdateFixedValue = TRUE;
|
||||
$output = $oModuleController->updateModuleConfig('module', $moduleConfig);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ class moduleController extends module
|
|||
$oModuleModel = &getModel('module');
|
||||
$origin_config = $oModuleModel->getModuleConfig($module, $site_srl);
|
||||
|
||||
if(!isset($origin_config)) $origin_config = new stdClass;
|
||||
if(!$origin_config) $origin_config = new stdClass;
|
||||
|
||||
foreach($config as $key => $val)
|
||||
{
|
||||
|
|
@ -426,6 +426,7 @@ class moduleController extends module
|
|||
$siteMapArgs->site_srl = 0;
|
||||
$siteMapArgs->title = 'Temporary menu';
|
||||
$siteMapArgs->listorder = $siteMapArgs->menu_srl * -1;
|
||||
$tempMenu = new stdClass;
|
||||
$tempMenu->menu_srl = $siteMapArgs->menu_srl = getNextSequence();
|
||||
|
||||
$siteMapOutput = executeQuery('menu.insertMenu', $siteMapArgs);
|
||||
|
|
|
|||
|
|
@ -1464,6 +1464,8 @@ class moduleModel extends module
|
|||
$info = NULL;
|
||||
$info = $this->getModuleInfoXml($module_name);
|
||||
|
||||
if(!$info) continue;
|
||||
|
||||
$info->module = $module_name;
|
||||
$info->category = $info->category;
|
||||
$info->created_table_count = $created_table_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue