* Change viewPrefix config.
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
@@ -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 --------------------//
|
||||
|
||||
Reference in New Issue
Block a user