Minahito
minah****@users*****
2006年 5月 10日 (水) 12:37:14 JST
Index: xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php diff -u xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.14 xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.15 --- xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php:1.1.2.14 Fri Apr 28 15:47:46 2006 +++ xoops2jp/html/modules/legacyRender/kernel/Legacy_RenderSystem.class.php Wed May 10 12:37:14 2006 @@ -1,6 +1,6 @@ <?php /** - * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.14 2006/04/28 06:47:46 minahito Exp $ + * @version $Id: Legacy_RenderSystem.class.php,v 1.1.2.15 2006/05/10 03:37:14 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -65,7 +65,7 @@ )); // If debugger request debugging to me, send debug mode signal by any methods. - if($this->mController->mDebugger->isDebugRenderSystem()) { + if($controller->mDebugger->isDebugRenderSystem()) { $this->mXoopsTpl->xoops_setDebugging(true); } @@ -274,11 +274,13 @@ // $result=null; if($target->getAttribute("isFileTheme")) { - $result=$this->mXoopsTpl->fetch($target->getTemplateName()."/theme.html", null, null, true); + $result=$this->mXoopsTpl->fetch($target->getTemplateName()."/theme.html"); } else { - $result=$this->mXoopsTpl->fetch("db:".$target->getTemplateName(), null, null, true); + $result=$this->mXoopsTpl->fetch("db:".$target->getTemplateName()); } + + $result .= $this->mXoopsTpl->fetchDebugConsole(); $target->setResult($result); }