0
我刚才这条线在模板:的Symfony:执行include_component后空白页()
<?php include_component('sfGuardRegister', 'register') ?>
时,它的执行得到了一个空白页面。我调试了include_component()和流程处理不进入其中,我的意思是:
function include_component($moduleName, $componentName, $vars = array())
{
die("enter");
echo get_component($moduleName, $componentName, $vars);
}
任何想法?
是的,我已经写了一个自定义模块+组件。 – ziiweb 2010-04-18 05:11:03