summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorTeemu Mannermaa <wicked@sci.fi>2011-07-20 18:35:57 +0200
committerTeemu Mannermaa <wicked@sci.fi>2011-07-20 18:35:57 +0200
commit20e0cc4de8afa0b2f55e8201ca4fd307c809a6fe (patch)
tree0679593943f66d2d01fb7da453502d1de6287ff0 /Bugzilla
parent6fbbf502576abbdd9e10af24f75670d34a126153 (diff)
downloadbugzilla-20e0cc4de8afa0b2f55e8201ca4fd307c809a6fe.tar.gz
bugzilla-20e0cc4de8afa0b2f55e8201ca4fd307c809a6fe.tar.xz
Bug 600810: Use XMLRPC::Transport::HTTP:Apache as base class under mod_perl
r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/WebService/Server/XMLRPC.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/XMLRPC.pm b/Bugzilla/WebService/Server/XMLRPC.pm
index 18757c0ec..b74d0eebd 100644
--- a/Bugzilla/WebService/Server/XMLRPC.pm
+++ b/Bugzilla/WebService/Server/XMLRPC.pm
@@ -23,7 +23,11 @@ package Bugzilla::WebService::Server::XMLRPC;
use strict;
use XMLRPC::Transport::HTTP;
use Bugzilla::WebService::Server;
-our @ISA = qw(XMLRPC::Transport::HTTP::CGI Bugzilla::WebService::Server);
+if ($ENV{MOD_PERL}) {
+ our @ISA = qw(XMLRPC::Transport::HTTP::Apache Bugzilla::WebService::Server);
+} else {
+ our @ISA = qw(XMLRPC::Transport::HTTP::CGI Bugzilla::WebService::Server);
+}
use Bugzilla::WebService::Constants;