TP5.0中设置模板引擎为PHP 没用

浏览:2045 发布日期:2016/06/07
5.0.0 - 严重 - 已关闭
TP5.0中设置模板引擎为PHP 没用'template'=>[
        'type'         => 'Php',
        'view_suffix'  => 'php',
        ],
在View.php 中if (is_string($options)) {
            $type    = $options;
            $options = [];
        } else {
            $type = !empty($options['type']) ? $options['type'] : 'Think';
        }
好像是必须制定模板引擎 没指定 就是THINK 好像没有用到配置文件里的参数
评论(
后面还有条评论,点击查看>>