修改默认的FTP用户名为westdc+id形式。(ticket #73)

This commit is contained in:
wlx 2009-03-20 05:36:25 +00:00
parent f4b9eb62d3
commit b1864526cd
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ class DataController extends Zend_Controller_Action
$uuid=$this->_request->getParam('uuid');
if (empty($uuid)) $this->_redirect('/data');
$userid=Zend_Auth::getInstance()->getIdentity()->id;
$this->view->username='westdc'.Zend_Auth::getInstance()->getIdentity()->username;
$this->view->username='westdc'.Zend_Auth::getInstance()->getIdentity()->id;
$sql=$this->db->quoteInto("select o.* from onlineresource o left join metadata m on o.uuid=m.uuid where m.datatype=0 and m.uuid=?",$uuid);
$rows=$this->db->fetchAll($sql);
$updateftp=$updateftp1=false;