修复在线下载的ftp地址
This commit is contained in:
parent
1c3cf94487
commit
a9489cbe51
|
@ -1397,7 +1397,8 @@ class DataController extends Zend_Controller_Action
|
||||||
$this->view->ftptime=$proftp->time;
|
$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;
|
//if ($updateftp || $updateftp1) $this->view->userpass=$password;
|
||||||
|
|
Loading…
Reference in New Issue