mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 2457 applied index page(maserati)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11419 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fe9e2263b8
commit
9c47bf2f5a
2 changed files with 12 additions and 1 deletions
|
|
@ -21,7 +21,8 @@
|
|||
<action name="procInstallCheckFTP" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminInstall" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminUpdate" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminSaveTimeZone" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminSaveTimeZone" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminUpdateIndexModule" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminSaveFTPInfo" type="controller" standalone="true" ruleset="installFtpInfo" />
|
||||
<action name="procInstallAdminRemoveFTPInfo" type="controller" standalone="true" />
|
||||
<action name="procInstallAdminConfig" type="controller" standalone="true" />
|
||||
|
|
|
|||
|
|
@ -120,6 +120,16 @@
|
|||
$this->setMessage('success_updated');
|
||||
}
|
||||
|
||||
function procInstallAdminUpdateIndexModule()
|
||||
{
|
||||
if(!Context::get('index_module_srl')) return new Object(-1, 'msg_invalid_request');
|
||||
$site_args->site_srl = 0;
|
||||
$site_args->index_module_srl = Context::get('index_module_srl');
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->updateSite($site_args);
|
||||
$this->setMessage('success_updated');
|
||||
}
|
||||
|
||||
function procInstallAdminRemoveFTPInfo() {
|
||||
$ftp_config_file = Context::getFTPConfigFile();
|
||||
if(file_exists($ftp_config_file)) unlink($ftp_config_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue