[xoops-cvslog 1432] CVS update: xoops2jp/html/modules/base/class

Back to archive index

Minahito minah****@users*****
2005年 12月 27日 (火) 14:32:58 JST


Index: xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php
diff -u xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.5 xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.6
--- xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.5	Thu Dec 22 20:22:39 2005
+++ xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php	Tue Dec 27 14:32:57 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: Legacy_AdminModuleController.class.php,v 1.1.2.5 2005/12/22 11:22:39 minahito Exp $
+// $Id: Legacy_AdminModuleController.class.php,v 1.1.2.6 2005/12/27 05:32:57 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //              XOOPSCube - PHP Content Management System                    //
 //                  Copyright (c) 2005 XOOPSCube.org                         //
@@ -50,6 +50,8 @@
 				$configHandler=&xoops_gethandler('config');
 				$this->mConfig=&$configHandler->getConfigsByCat(0,$this->mModuleObject->getVar('mid'));
 			}
+			
+			define('__XC_DIRNAME__', $this->mModuleObject->getVar('dirname'));
 		}
 	}
 
@@ -105,12 +107,12 @@
 		//
 		$module=null;
 		if($dirname!=null) {
-			$module=&$moduleHandler->getByDirname($this->_getDirname());
+			$module=&$moduleHandler->getByDirname($dirname);
 		}
 		else {
 			$module=&$moduleHandler->getByDirname("system");
 		}
-
+		
 		//
 		// We must set $xoopsModule to some module that use $xoopsModule in message catalog file.
 		//


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