[xoops-cvslog 4994] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Minahito minah****@users*****
2006年 10月 13日 (金) 18:41:52 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_BlockProcedure.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_BlockProcedure.class.php:1.1.2.1.2.3 xoops2jp/html/modules/base/kernel/Legacy_BlockProcedure.class.php:1.1.2.1.2.4
--- xoops2jp/html/modules/base/kernel/Legacy_BlockProcedure.class.php:1.1.2.1.2.3	Tue Oct 10 19:55:22 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_BlockProcedure.class.php	Fri Oct 13 18:41:52 2006
@@ -1,7 +1,7 @@
 <?php
 /**
  * @package Legacy
- * @version $Id: Legacy_BlockProcedure.class.php,v 1.1.2.1.2.3 2006/10/10 10:55:22 minahito Exp $
+ * @version $Id: Legacy_BlockProcedure.class.php,v 1.1.2.1.2.4 2006/10/13 09:41:52 minahito Exp $
  */
 
 if (!defined('XOOPS_ROOT_PATH')) die();
@@ -290,7 +290,7 @@
 		$retBlock = null;
 		$func = $block->get('show_func');
 		if (substr($func, 0, 4) == 'cl::') {
-			$className = substr($func, 4);
+			$className = ucfirst($block->get('dirname')) . '_' . substr($func, 4);
 			if (!class_exists($className)) {
 				$filePath = XOOPS_ROOT_PATH . '/modules/' . $block->get('dirname') . '/blocks/' . $block->get('func_file');
 				if (!file_exists($filePath)) {


xoops-cvslog メーリングリストの案内
Back to archive index