Minahito
minah****@users*****
2006年 11月 20日 (月) 19:46:23 JST
Index: xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php diff -u xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.14 xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.15 --- xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php:1.1.2.14 Thu Nov 16 19:10:25 2006 +++ xoops2jp/html/modules/legacy/admin/class/ModuleInstallUtils.class.php Mon Nov 20 19:46:23 2006 @@ -101,12 +101,12 @@ { $info = array(); - $filepath = XOOPS_MODULE_PATH . "/modules/${dirname}/xoops_version.php"; + $filepath = XOOPS_MODULE_PATH . "/${dirname}/xoops_version.php"; if (file_exists($filepath)) { @include $filepath; $info = $modversion; } - + if (isset($info['legacy_installer']) && is_array($info['legacy_installer']) && isset($info['legacy_installer'][$mode])) { $updateInfo = $info['legacy_installer'][$mode];