Commit 5c9cb1c4 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 398241: mod_perl wasn't using our precompiled CGIs. This is a huge…

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 <mkanat@bugzilla.org> r=justdave, a=mkanat
parent 9dfa47cc
......@@ -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") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment