Minahito
minah****@users*****
2006年 11月 1日 (水) 15:50:45 JST
Index: xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php diff -u xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.3 xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.4 --- xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php:1.1.2.3 Tue Oct 31 15:06:17 2006 +++ xoops2jp/html/modules/legacy/class/Legacy_Utils.class.php Wed Nov 1 15:50:45 2006 @@ -112,13 +112,15 @@ if (!class_exists($className)) { $filePath = XOOPS_ROOT_PATH . '/modules/' . $block->get('dirname') . '/blocks/' . $block->get('func_file'); if (!file_exists($filePath)) { - continue; + $retBlock =& new Legacy_BlockProcedureAdapter($block); + return $retBlock; } require_once $filePath; if (!class_exists($className)) { - continue; + $retBlock =& new Legacy_BlockProcedureAdapter($block); + continue $retBlock; } }