修复在线下载的ftp地址
This commit is contained in:
parent
1c3cf94487
commit
a9489cbe51
|
@ -1396,8 +1396,9 @@ class DataController extends Zend_Controller_Action
|
||||||
$this->view->userpass=$proftp->pwd;
|
$this->view->userpass=$proftp->pwd;
|
||||||
$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