修复在线下载的ftp地址

This commit is contained in:
wlx 2013-05-27 05:49:01 +00:00
parent 1c3cf94487
commit a9489cbe51
1 changed files with 3 additions and 2 deletions

View File

@ -1397,7 +1397,8 @@ class DataController extends Zend_Controller_Action
$this->view->ftptime=$proftp->time;
}
}
$ftpurl='ftp://'.$this->view->username.'@'.$data['host'].$data['path'];
$ftpurl='ftp://'.$this->view->username.'@'.$data['host'];
if ($data['host']=='ftp.westgis.ac.cn') $ftpurl.=$data['path'];
//设置输出
//if ($updateftp || $updateftp1) $this->view->userpass=$password;