我在配置文件中同时开启了smarty和layout.但是我的模板无法正常渲染,页面上只有控制器display的内容。而当我关闭了smarty之后渲染正常,请问模板布局和smarty是否无法一起使用,还是我的方法有问题!!?
thinkphp自带的模板引擎才能用layoutsmarty有对应的include解决方案具体参考:http://www.smarty.net/docs/zh_CN/language.function.include.tpl