fix config error

This commit is contained in:
wlx 2014-06-12 03:28:48 +00:00
parent 0dee17f92b
commit 9bb1bc9ad8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class IndexController extends Zend_Controller_Action
$this->db=Zend_Registry::get('db'); $this->db=Zend_Registry::get('db');
$this->view->theme = new Theme(); $this->view->theme = new Theme();
$this->submd = $this->view->config->sub->metadata; $this->submd = $this->view->config->sub->metadata;
$this->subnews = $this->view->config->sub->metadata; $this->subnews = $this->view->config->sub->news;
$this->_helper->layout->setLayout('index'); $this->_helper->layout->setLayout('index');
//$this->view->main_nav_pageID = "index"; //$this->view->main_nav_pageID = "index";
} }