From 5c9cb1c442e10faad5d5234f9c90f2a4529297be Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Thu, 29 Nov 2007 18:03:30 +0000 Subject: Bug 398241: mod_perl wasn't using our precompiled CGIs. This is a huge performance and memory improvement for mod_perl Bugzilla users. Patch By Max Kanat-Alexander r=justdave, a=mkanat --- mod_perl.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod_perl.pl') 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") { -- cgit v1.2.3-24-g4f1b