Minahito
minah****@users*****
2006年 2月 4日 (土) 12:47:49 JST
Index: xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php diff -u xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php:1.1.2.6 xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php:1.1.2.7 --- xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php:1.1.2.6 Fri Dec 30 17:23:24 2005 +++ xoops2jp/html/modules/base/admin/class/ModuleInstaller.class.php Sat Feb 4 12:47:49 2006 @@ -31,6 +31,10 @@ $module->setVar('weight', 1); $module->loadInfoAsVar($this->mDirname); + if ($module->get('dirname') == null) { + return $ret; + } + if (isset($module->modinfo['installer']) && isset($module->modinfo['installer']['licence']) ) { $this->mAgree = true; }