Template类改进layout方法

This commit is contained in:
thinkphp
2016-05-06 21:45:13 +08:00
parent 896b568533
commit 5bcc13a273
2 changed files with 7 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ class Think
'view_suffix' => '.html',
// 模板文件名分隔符
'view_depr' => DS,
// 是否开启模板编译缓存,设为false则每次都会重新编译
'tpl_cache' => true,
];
public function __construct($config = [])