diff options
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r-- | Bugzilla/WebService/Server/XMLRPC.pm | 6 |
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; |