Minahito
minah****@users*****
2006年 10月 5日 (木) 18:06:38 JST
Index: xoops2jp/html/modules/base/admin/actions/HelpAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/HelpAction.class.php:1.1.2.15 xoops2jp/html/modules/base/admin/actions/HelpAction.class.php:1.1.2.15.2.1 --- xoops2jp/html/modules/base/admin/actions/HelpAction.class.php:1.1.2.15 Mon Sep 25 18:34:40 2006 +++ xoops2jp/html/modules/base/admin/actions/HelpAction.class.php Thu Oct 5 18:06:38 2006 @@ -1,7 +1,7 @@ <?php /** * @package Legacy - * @version $Id: HelpAction.class.php,v 1.1.2.15 2006/09/25 09:34:40 minahito Exp $ + * @version $Id: HelpAction.class.php,v 1.1.2.15.2.1 2006/10/05 09:06:38 minahito Exp $ */ if (!defined('XOOPS_ROOT_PATH')) exit(); @@ -69,8 +69,7 @@ $language = $root->mController->getConfig('language'); if ( $dirname == null ) { - $modController =& $root->mController->getModuleController(); - $moduleObject =& $modController->getXoopsModule(); + $moduleObject =& $root->mContext->mXoopsModule; $dirname = $moduleObject->get('dirname'); } @@ -86,8 +85,7 @@ function Legacy_modifier_helpimage($file) { $root =& XCube_Root::getSingleton(); - $modController =& $root->mController->getModuleController(); - $moduleObject =& $modController->getXoopsModule(); + $moduleObject =& $root->mContext->mXoopsModule; $language = $root->mController->getConfig('language'); $dirname = $moduleObject->get('dirname');