add db parameter in online download

This commit is contained in:
wlx 2012-11-07 04:05:25 +00:00
parent 6f2b7b2343
commit 7c8bec7098
1 changed files with 2 additions and 1 deletions

View File

@ -1197,6 +1197,7 @@ class DataController extends Zend_Controller_Action
//添加FTP1帐号信息以及时间控制信息只更新一次 //添加FTP1帐号信息以及时间控制信息只更新一次
$updateftp1=true; $updateftp1=true;
$proftp=new Proftp(); $proftp=new Proftp();
$proftp->db=$this->db;
//proftp离线用户名和g6的用户名稍有不同 //proftp离线用户名和g6的用户名稍有不同
$this->view->username='westdc_'.Zend_Auth::getInstance()->getIdentity()->id; $this->view->username='westdc_'.Zend_Auth::getInstance()->getIdentity()->id;
$uu=(object)array("id"=>$userid, $uu=(object)array("id"=>$userid,