mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
#18199703 : add module_selector for start_module (allowing administrator to choose start module among virtual sites' modules)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6718 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
17e397c2c4
commit
43bb8abadf
3 changed files with 11 additions and 21 deletions
|
|
@ -268,17 +268,6 @@
|
|||
|
||||
Context::set('ftp_info', Context::getFTPInfo());
|
||||
|
||||
$oModuleModel = &getModel('module');
|
||||
$site_args->site_srl = 0;
|
||||
$list = $oModuleModel->getMidList($site_args);
|
||||
$mid_list = array();
|
||||
if(count($list)) {
|
||||
foreach($list as $key => $val) {
|
||||
$mid_list[$val->module][$key] = $val;
|
||||
}
|
||||
}
|
||||
Context::set('mid_list', $mid_list);
|
||||
|
||||
$site_args->site_srl = 0;
|
||||
$output = executeQuery('module.getSiteInfo', $site_args);
|
||||
Context::set('start_module', $output->data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue