NobuNobu
nobun****@users*****
2006年 12月 9日 (土) 00:10:58 JST
Index: xoops2jp/html/modules/legacy/admin/css.php diff -u xoops2jp/html/modules/legacy/admin/css.php:1.1.2.3 xoops2jp/html/modules/legacy/admin/css.php:1.1.2.4 --- xoops2jp/html/modules/legacy/admin/css.php:1.1.2.3 Thu Nov 9 16:29:50 2006 +++ xoops2jp/html/modules/legacy/admin/css.php Sat Dec 9 00:10:57 2006 @@ -14,13 +14,13 @@ { $infoArr = Legacy_get_ovveride_file($string, null, true); - if ($infoArr['theme'] != null && $infoArr['dirname'] != null) { + if (!empty($infoArr['theme']) && !empty($infoArr['dirname'])) { return XOOPS_THEME_URL . "/" . $infoArr['theme'] . "/modules/" . $infoArr['dirname'] . "/" . $string; } - elseif ($infoArr['theme'] != null) { + elseif (!empty($infoArr['theme'])) { return XOOPS_THEME_URL . "/" . $infoArr['theme'] . "/" . $string; } - elseif ($infoArr['dirname'] != null) { + elseif (!empty($infoArr['dirname'])) { return XOOPS_MODULE_URL . "/" . $infoArr['dirname'] . "/admin/templates/" . $string; }