File: 0009_import-Apache2-Const-REDIRECT.patch

package info (click to toggle)
libapache-gallery-perl 1.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,260 kB
  • sloc: perl: 1,281; sh: 21; makefile: 13
file content (24 lines) | stat: -rw-r--r-- 774 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Origin: 03eb27fd3eb82470abe737f23cab1d794a5461f7 Mon Sep 17 00:00:00 2001
From: Don Armstrong <don@donarmstrong.com>
Last-Update: 2017-11-02
Subject: import Apache2::Const::REDIRECT

---
 lib/Apache/Gallery.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Apache/Gallery.pm b/lib/Apache/Gallery.pm
index aa60b7a..99eb423 100644
--- a/lib/Apache/Gallery.pm
+++ b/lib/Apache/Gallery.pm
@@ -25,7 +25,8 @@ BEGIN {
 		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 {