当前位置: 代码迷 >> PHP >> Smarty3.1.8 有关问题
  详细解决方案

Smarty3.1.8 有关问题

热度:36   发布时间:2016-04-29 01:16:23.0
Smarty3.1.8 问题
不知道从哪个版本开始取消了 allow_php_tag 该属性
我想在 Smarty模板里面使用 php代码该怎么办?

------解决方案--------------------
{include file='a.html' test="aaa"}
{include file='a.html' test="bbb"}