02 08 2021

在控制器中返回变量 $this->assign('$name','head_1.html');

<block name="body">

<include file="$name" />

</block>

这样的话就可以file直接用变量了

发表评论