From 7e9fb8335c87300f6d2164e0031389cacc23aa74 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 10 Dec 2012 08:39:16 +0000 Subject: [PATCH] * task#982, control.class.php --- framework/control.class.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/framework/control.class.php b/framework/control.class.php index 3588978aff..1aa6adc258 100755 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -159,13 +159,15 @@ class control { /* Global the globals, and refer them to the class member. */ global $app, $config, $lang, $dbh; - $this->app = $app; - $this->config = $config; - $this->lang = $lang; - $this->dbh = $dbh; - $this->view = new stdclass(); - $this->pathFix = $this->app->getPathFix(); - $this->viewType = $this->app->getViewType(); + $this->app = $app; + $this->config = $config; + $this->lang = $lang; + $this->dbh = $dbh; + $this->pathFix = $this->app->getPathFix(); + $this->viewType = $this->app->getViewType(); + + $this->view = new stdclass(); + $this->view->header = new stdclass(); $this->setModuleName($moduleName); $this->setMethodName($methodName);