* Change viewPrefix config.

This commit is contained in:
ChuJilu
2014-10-18 09:37:01 +08:00
parent 4fedcd4234
commit ffd51c94d2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 --------------------//