mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
[7026] rollback
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7030 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9d8d38b0a0
commit
40309eefea
8 changed files with 9 additions and 57 deletions
|
|
@ -48,29 +48,5 @@
|
|||
$oMemberController = &getController('member');
|
||||
$oMemberController->procMemberLogout();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Save FTP PATH Info
|
||||
* @return none
|
||||
**/
|
||||
function procSaveFTPPathInfo() {
|
||||
$oInstallAdminController = &getAdminController('install');
|
||||
$ftp_info = Context::getFTPInfo();
|
||||
Context::set('ftp_user', $ftp_info->ftp_user);
|
||||
Context::set('ftp_password', $ftp_info->ftp_password);
|
||||
Context::set('ftp_port', $ftp_info->ftp_port);
|
||||
Context::set('sftp', $ftp_info->sftp);
|
||||
$oInstallAdminController->procInstallAdminSaveFTPInfo();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Delete FTP Config Info
|
||||
* @return delete success message
|
||||
**/
|
||||
function procDeleteFTPConfig() {
|
||||
$ftp_config = Context::getFTPConfigFile();
|
||||
FileHandler::removeFile($ftp_config);
|
||||
return new Object(-1, 'success_deleted');
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue