Minahito
minah****@users*****
2006年 11月 10日 (金) 18:11:26 JST
Index: xoops2jp/html/modules/legacyRender/kernel/DelegateFunctions.class.php diff -u xoops2jp/html/modules/legacyRender/kernel/DelegateFunctions.class.php:1.1.2.1.2.1 xoops2jp/html/modules/legacyRender/kernel/DelegateFunctions.class.php:1.1.2.1.2.2 --- xoops2jp/html/modules/legacyRender/kernel/DelegateFunctions.class.php:1.1.2.1.2.1 Fri Sep 29 17:14:33 2006 +++ xoops2jp/html/modules/legacyRender/kernel/DelegateFunctions.class.php Fri Nov 10 18:11:26 2006 @@ -1,7 +1,7 @@ <?php /** * @package legacyRender - * @version $Id: DelegateFunctions.class.php,v 1.1.2.1.2.1 2006/09/29 08:14:33 minahito Exp $ + * @version $Id: DelegateFunctions.class.php,v 1.1.2.1.2.2 2006/11/10 09:11:26 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -26,7 +26,12 @@ $theme =& new XCube_Theme(); $theme->mDirname = $dirname; - if ($theme->loadManifesto($themeDir . "/package.ini.php")) { + if ($theme->loadManifesto($themeDir . "/manifesto.ini.php")) { + if ($theme->mRenderSystemName == 'Legacy_RenderSystem') { + $results[] =& $theme; + } + } + elseif ($theme->loadManifesto($themeDir . "/package.ini.php")) { if ($theme->mRenderSystemName == 'Legacy_RenderSystem') { $results[] =& $theme; }