Home  >  Article  >  Backend Development  >  Smarty3.1.8 有关问题

Smarty3.1.8 有关问题

WBOY
WBOYOriginal
2016-06-13 10:22:37712browse

Smarty3.1.8 问题
不知道从哪个版本开始取消了 allow_php_tag 该属性
我想在 Smarty模板里面使用 php代码该怎么办?

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn