the php template engine
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
wxkxklmyt opened this issue 4 years ago · comments
php变量也不行,必须在控制器定义变量view::assign('$title','标题');才能替换
{include file="Public/header" title="$info->title" /} 标题测试:[title]
结果 标题测试:
标题测试:
刚好我也有这个想法。我提交一下pr 看作者通不通过