Minahito
minah****@users*****
2005年 12月 29日 (木) 01:10:21 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.6 xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.7 --- xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php:1.1.2.6 Tue Dec 27 14:32:57 2005 +++ xoops2jp/html/modules/base/class/Legacy_AdminModuleController.class.php Thu Dec 29 01:10:21 2005 @@ -1,5 +1,5 @@ <?php -// $Id: Legacy_AdminModuleController.class.php,v 1.1.2.6 2005/12/27 05:32:57 minahito Exp $ +// $Id: Legacy_AdminModuleController.class.php,v 1.1.2.7 2005/12/28 16:10:21 minahito Exp $ // ------------------------------------------------------------------------ // // XOOPSCube - PHP Content Management System // // Copyright (c) 2005 XOOPSCube.org // @@ -51,7 +51,8 @@ $this->mConfig=&$configHandler->getConfigsByCat(0,$this->mModuleObject->getVar('mid')); } - define('__XC_DIRNAME__', $this->mModuleObject->getVar('dirname')); + if(!defined('__XC_DIRNAME__')) + define('__XC_DIRNAME__', $this->mModuleObject->getVar('dirname')); } }