ftp root path 를 Core관리로

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6925 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-11-11 07:20:27 +00:00
parent 5c9b048738
commit 0ccabfcbbb
20 changed files with 131 additions and 84 deletions

View file

@ -119,7 +119,7 @@
* @brief FTP 정보 등록
**/
function procInstallAdminSaveFTPInfo() {
$ftp_info = Context::gets('ftp_user','ftp_password','ftp_port');
$ftp_info = Context::gets('ftp_user','ftp_password','ftp_port','ftp_root_path');
$ftp_info->ftp_port = (int)$ftp_info->ftp_port;
if(!$ftp_info->ftp_port) $ftp_info->ftp_port = 21;
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";

View file

@ -31,3 +31,7 @@ function doCheckFTPInfo() {
function completeInstallCheckFtpInfo(ret_obj) {
alert(ret_obj['message']);
}
function completeFtpPath(ret_obj){
location.reload();
}