]> git.donarmstrong.com Git - deb_pkgs/libapache-gallery-perl.git/commitdiff
fix ImgFile syntax error
authorDon Armstrong <don@donarmstrong.com>
Thu, 2 Nov 2017 18:46:43 +0000 (11:46 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 2 Nov 2017 18:46:43 +0000 (11:46 -0700)
lib/Apache/Gallery.pm

index 3cb6e5638bb45dd3bf2c042ff786b0c7ef2435dd..aa60b7a46977dd6c5cb56ba4a4cc23ab7e74383d 100644 (file)
@@ -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)$'
        }