tp5,config设置view_path模板路径后layout有bug

浏览:4416 发布日期:2016/11/07 分类:ThinkPHP5专区
'view_path' => './template/',
这是我设置的,默认模板文件放在了public/template/目录下,外面写了layout.html
{include file="public/header" /}
{__CONTENT__}
{include file="public/footer" /}

引入模板文件,还是去application/index/template这个位置找。。。不是public下
最佳答案
评论() 相关
后面还有条评论,点击查看>>