#18532379 FTP 접속 정보 직접 노출되지 않게 수정.(이를 위한 수정들) 수정사항으로 필요해진 설명문 언어파일에 추가.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7026 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-12-10 18:36:26 +00:00
parent 71e8dbc0c9
commit b0bf3c728f
8 changed files with 57 additions and 9 deletions

View file

@ -48,5 +48,29 @@
$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');
}
}
?>