From b6fc16edb853d22e79d70a4f6744bbf8969ebe37 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 2 Nov 2017 11:46:43 -0700 Subject: [PATCH] fix ImgFile syntax error --- lib/Apache/Gallery.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Apache/Gallery.pm b/lib/Apache/Gallery.pm index 3cb6e56..aa60b7a 100644 --- a/lib/Apache/Gallery.pm +++ b/lib/Apache/Gallery.pm @@ -166,7 +166,8 @@ sub handler { unless ($doc_pattern) { $doc_pattern = '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4|ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$' } - my $img_pattern = $r->dir_config('GalleryImgFile') unless ($img_pattern) { + my $img_pattern = $r->dir_config('GalleryImgFile'); + unless ($img_pattern) { $img_pattern = '\.(jpe?g|png|tiff?|ppm)$' } -- 2.39.2