X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lib%2FApache%2FGallery.pm;fp=lib%2FApache%2FGallery.pm;h=10b4381da5085caac97bb3de76b37730a050756c;hb=c53d4d77fccfdd4da51b57d78d86e3347df79dfb;hp=c9a78d2502fefeed362c6836865080efe595e9d4;hpb=9cc9cdcf38c1ee45495887d805dd0c8358ff1385;p=deb_pkgs%2Flibapache-gallery-perl.git diff --git a/lib/Apache/Gallery.pm b/lib/Apache/Gallery.pm index c9a78d2..10b4381 100644 --- a/lib/Apache/Gallery.pm +++ b/lib/Apache/Gallery.pm @@ -189,7 +189,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)$' } @@ -1832,7 +1833,10 @@ Pattern matching the files you want Apache::Gallery to view in the index as normal files. All other filetypes will still be served by Apache::Gallery but are not visible in the index. -The default is '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4|ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$' +The default is + + '\.(mpe?g|avi|mov|asf|wmv|doc|mp3|mp4 + |ogg|pdf|rtf|wav|dlt|txt|html?|csv|eps)$' =item B