版本3.2.2
我用buildHtml 生成首页HTML文件,没有抓<include />的内容。
我的页头和页尾是用<include />引用的。
有解决方法的兄弟,帮帮忙吧。
控制器方法内:
$this->buildHtml("index.html", "./", T('Web@Index:index'));
模板页面:
</head>
<body>
<include file="Public:header"/>
<DIV class="content">
<DIV id="ad_960_01" class="ad-box"></DIV>