X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lib%2FApache%2FGallery.pm;fp=lib%2FApache%2FGallery.pm;h=aa60b7a46977dd6c5cb56ba4a4cc23ab7e74383d;hb=b6fc16edb853d22e79d70a4f6744bbf8969ebe37;hp=3cb6e5638bb45dd3bf2c042ff786b0c7ef2435dd;hpb=05ac9cf7daaf5ea6ee50c1d8c1dff4b26cc638a0;p=deb_pkgs%2Flibapache-gallery-perl.git 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)$' }