switch waterdb to geonetwork

This commit is contained in:
wlx 2012-03-26 09:00:38 +00:00
parent a48f10b8a0
commit a375ba6ed0
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Admin_WatermdController extends Zend_Controller_Action
$this->view->config = Zend_Registry::get('config'); $this->view->config = Zend_Registry::get('config');
$this->messenger=$this->_helper->getHelper('FlashMessenger'); $this->messenger=$this->_helper->getHelper('FlashMessenger');
$this->view->messages = $this->messenger->getMessages(); $this->view->messages = $this->messenger->getMessages();
$this->wdb=Zend_Db::factory($this->view->config->waterdb); $this->wdb=Zend_Db::factory($this->view->config->geonetwork);
set_time_limit(0); set_time_limit(0);
} }
function postDispatch() function postDispatch()