Minahito
minah****@users*****
2007年 3月 28日 (水) 12:17:00 JST
Index: xoops2jp/html/modules/legacy/admin/css.php diff -u xoops2jp/html/modules/legacy/admin/css.php:1.1.2.4 xoops2jp/html/modules/legacy/admin/css.php:1.1.2.4.2.1 --- xoops2jp/html/modules/legacy/admin/css.php:1.1.2.4 Sat Dec 9 00:10:57 2006 +++ xoops2jp/html/modules/legacy/admin/css.php Wed Mar 28 12:17:00 2007 @@ -60,7 +60,10 @@ $smarty->template_dir = $path; $smarty->setModulePrefix('_css_' . $theme); -$result=$smarty->fetch("file:" . $file); + +$result = ""; +if (file_exists($path . "/" . $file)) + $result = $smarty->fetch("file:" . $file); header('Content-Type:text/css;'); print $result;