diff --git a/var/Widget/Themes/List.php b/var/Widget/Themes/List.php index 6feef13e..2833b6bf 100644 --- a/var/Widget/Themes/List.php +++ b/var/Widget/Themes/List.php @@ -69,7 +69,7 @@ class Widget_Themes_List extends Typecho_Widget } $screen = array_filter(glob($theme . '/*'), function ($path) { - return preg_match("/\.(jpg|png|gif|bmp|jpeg)$/i", $path); + return preg_match("/screenshot\.(jpg|png|gif|bmp|jpeg)$/i", $path); }); if ($screen) {