merge r2058
This commit is contained in:
parent
4851a82986
commit
eed2a9dec0
|
@ -1224,9 +1224,8 @@ class ServiceController extends Zend_Controller_Action
|
||||||
$sql='select username,md5(password) as pwd from users where id='.$user->id;
|
$sql='select username,md5(password) as pwd from users where id='.$user->id;
|
||||||
$row=$this->db->fetchRow($sql);
|
$row=$this->db->fetchRow($sql);
|
||||||
$login=$this->config->geonetwork->url.'/srv/en/xml.user.login?username='.$row->username.'&password='.$row->pwd;
|
$login=$this->config->geonetwork->url.'/srv/en/xml.user.login?username='.$row->username.'&password='.$row->pwd;
|
||||||
$url = $this->_request->getParam('url');
|
$url = $this->config->geonetwork->url.'/srv/cn/'.$this->_request->getParam('url');
|
||||||
if empty($url)
|
|
||||||
$url='/geonetwork/srv/cn/';
|
|
||||||
$body='<html>
|
$body='<html>
|
||||||
<script type="text/javascript" src="/js/jquery-1.7.min.js"></script>
|
<script type="text/javascript" src="/js/jquery-1.7.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Reference in New Issue