mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix install script to update domain, not site
This commit is contained in:
parent
5757fec7a6
commit
19cfef17d1
1 changed files with 4 additions and 5 deletions
|
|
@ -293,11 +293,10 @@ $output = $oModuleController->updateModule($module_info);
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
// insertFirstModule
|
||||
$site_args = new stdClass();
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->index_module_srl = $module_srl;
|
||||
$oModuleController->updateSite($site_args);
|
||||
|
||||
$domain_args = new stdClass();
|
||||
$domain_args->domain_srl = 0;
|
||||
$domain_args->index_module_srl = $module_srl;
|
||||
executeQuery('module.updateDomain', $domain_args);
|
||||
|
||||
// XEIcon page
|
||||
$moduleInfo = $oModuleModel->getModuleInfoByMenuItemSrl($sitemap['GNB']['list'][2]['menu_srl']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue