diff options
-rw-r--r-- | mod_perl.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod_perl.pl b/mod_perl.pl index f88c398e1..bc22a774f 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -71,6 +71,9 @@ $server->add_config([split("\n", $conf)]); # Have ModPerl::RegistryLoader pre-compile all CGI scripts. my $rl = new ModPerl::RegistryLoader(); +# If we try to do this in "new" it fails because it looks for a +# Bugzilla/ModPerl/ResponseHandler.pm +$rl->{package} = 'Bugzilla::ModPerl::ResponseHandler'; # Note that $cgi_path will be wrong if somebody puts the libraries # in a different place than the CGIs. foreach my $file (glob "$cgi_path/*.cgi") { |