require Apache2::SubRequest;
require Apache2::Const;
- Apache2::Const->import(-compile => 'OK','DECLINED','FORBIDDEN','NOT_FOUND','HTTP_NOT_MODIFIED');
+ Apache2::Const->import(-compile => 'OK','DECLINED','FORBIDDEN',
+ 'NOT_FOUND','HTTP_NOT_MODIFIED', 'REDIRECT');
$::MP2 = 1;
} else {
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)$'
}