内核更新

This commit is contained in:
2016-08-07 07:44:03 +08:00
parent fed3a1d215
commit ebde0fc13e
6 changed files with 36 additions and 32 deletions

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);
}