Ryuji AMANO
ryuji_amano****@users*****
2006年 6月 5日 (月) 00:29:15 JST
Index: xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php diff -u xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.6 xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.7 --- xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php:1.1.2.6 Mon May 15 17:33:54 2006 +++ xoops2jp/html/modules/base/admin/actions/PreferenceEditAction.class.php Mon Jun 5 00:29:15 2006 @@ -120,7 +120,7 @@ $themeArr = array(); $dirHandler = opendir(XOOPS_THEME_PATH . "/"); while ($file = readdir($dirHandler)) { - if (is_dir(XOOPS_THEME_PATH . "/" . $file) && preg_match("/^[a-z_]+$/", $file) && file_exists(XOOPS_THEME_PATH . "/${file}/theme.html")) { + if (is_dir(XOOPS_THEME_PATH . "/" . $file) && preg_match("/^[a-z0-9_]+$/", $file) && file_exists(XOOPS_THEME_PATH . "/${file}/theme.html")) { $themeArr[$file] = $file; } }