]> git.donarmstrong.com Git - debbugs.git/commitdiff
switch to glinka from merkel
authorDebian BTS <debbugs@busoni>
Fri, 23 Sep 2011 19:08:24 +0000 (19:08 +0000)
committerDon Armstrong <don@donarmstrong.com>
Wed, 1 Jan 2025 00:18:07 +0000 (16:18 -0800)
cgi/search.cgi

index 1fda98aa2b907d90cd1fb6b78e7c22f8b7b2fcfa..b992848c152f1de25ff0efa685217fad31387958 100755 (executable)
@@ -3,6 +3,15 @@
 use warnings;
 use strict;
 
+# Hack to work on merkel where suexec is in place
+BEGIN{
+     if ($ENV{HTTP_HOST} eq 'glinka.debian.org') {
+         unshift @INC, qw(/srv/bugs.debian.org/source/debian/);
+         $ENV{DEBBUGS_CONFIG_FILE}="/srv/bugs.debian.org/etc/config";
+     }
+}
+
+
 use CGI::Simple;
 
 # use CGI::Alert 'nobody@example.com';