diff --git a/config/config.php b/config/config.php index 06b581c18b..b4dbdc2ae0 100644 --- a/config/config.php +++ b/config/config.php @@ -67,7 +67,7 @@ $config->file->dangers = 'php,php3,php4,phtml,php5,jsp,py,rb,asp,asa,cer,cdx,asp $config->file->maxSize = 1024 * 1024; // Max size. /* View type settings. */ -$config->viewPrefix['mhtml'] = 'm'; +$config->viewPrefix['mhtml'] = 'm.'; /* Master database settings. */ $config->db = new stdclass(); diff --git a/framework/control.class.php b/framework/control.class.php index 4d18d4c99c..e798b855c9 100755 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -269,7 +269,7 @@ class control public function setViewPrefix() { $this->viewPrefix = ''; - if(isset($this->config->viewPrefix[$this->viewType])) $this->viewPrefix = $this->config->viewPrefix[$this->viewType] . '.'; + if(isset($this->config->viewPrefix[$this->viewType])) $this->viewPrefix = $this->config->viewPrefix[$this->viewType]; } //-------------------- View related methods --------------------//