规范调整

This commit is contained in:
thinkphp
2015-10-04 22:48:57 +08:00
parent 3b21161c0a
commit c14da999a6
10 changed files with 46 additions and 30 deletions

View File

@@ -18,8 +18,10 @@ namespace think;
*/
class Template
{
protected $data = []; // 模板变量
protected $config = [ // 引擎配置
// 模板变量
protected $data = [];
// 引擎配置
protected $config = [
'tpl_path' => VIEW_PATH, // 模板路径
'tpl_suffix' => '.html', // 默认模板文件后缀
'cache_suffix' => '.php', // 默认模板缓存后缀