增加template.auto_rule 配置参数 设置默认模板渲染的转换处理规则 1 为小写+下划线 其它为 完全转换小写

This commit is contained in:
thinkphp
2018-03-29 23:06:10 +08:00
parent 091e7b734d
commit 507994ac85
5 changed files with 4 additions and 9 deletions

View File

@@ -116,6 +116,8 @@ return [
// +----------------------------------------------------------------------
'template' => [
// 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写
'auto_rule' => 1,
// 模板引擎类型 支持 php think 支持扩展
'type' => 'Think',
// 视图基础目录,配置目录为所有模块的视图起始目录