switch geonetwork to english
This commit is contained in:
parent
975a5db9d7
commit
f166c3e3ef
|
@ -1557,7 +1557,7 @@ class ServiceController extends Zend_Controller_Action
|
||||||
//$this->_helper->viewRenderer->setNoRender();
|
//$this->_helper->viewRenderer->setNoRender();
|
||||||
//$this->_helper->layout->disableLayout();
|
//$this->_helper->layout->disableLayout();
|
||||||
$auth = Zend_Auth::getInstance();
|
$auth = Zend_Auth::getInstance();
|
||||||
$url = $this->config->geonetwork->url.'/srv/cn/'.urldecode($this->_request->getParam('url'));
|
$url = $this->config->geonetwork->url.'/srv/en/'.urldecode($this->_request->getParam('url'));
|
||||||
if (!$auth->hasIdentity())
|
if (!$auth->hasIdentity())
|
||||||
{
|
{
|
||||||
//$this->_redirect('/account/login?href=/service/geonetwork?url='.$url);
|
//$this->_redirect('/account/login?href=/service/geonetwork?url='.$url);
|
||||||
|
|
Loading…
Reference in New Issue