This commit is contained in:
thinkphp
2016-08-06 17:13:09 +08:00
parent 82103dee3a
commit 9371bfc3eb

View File

@@ -39,9 +39,7 @@ class Think
if (empty($this->config['view_path'])) {
$this->config['view_path'] = App::$modulePath . 'view' . DS;
}
if (App::$debug) {
$this->config['tpl_cache'] = false;
}
$this->template = new Template($this->config);
}