]> git.donarmstrong.com Git - deb_pkgs/libapache-gallery-perl.git/blobdiff - lib/Apache/Gallery.pm
fix ImgFile syntax error
[deb_pkgs/libapache-gallery-perl.git] / 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)$'
        }