修改默认的FTP用户名为westdc+id形式。(ticket #73)
This commit is contained in:
parent
f4b9eb62d3
commit
b1864526cd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue