Commit a7508fff authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 532025: Under mod_perl, starting Apache w/ extensions enabled was throwing…

Bug 532025: Under mod_perl, starting Apache w/ extensions enabled was throwing the "not a valid name" error. Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
parent 9387f2a7
......@@ -73,6 +73,9 @@ EOT
$server->add_config([split("\n", $conf)]);
# Pre-load all extensions
$Bugzilla::extension_packages = Bugzilla::Extension->load_all();
# 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
......@@ -88,9 +91,6 @@ foreach my $file (glob "$cgi_path/*.cgi") {
$rl->handler($file, $file);
}
# And now pre-load all extensions
$Bugzilla::extension_packages = Bugzilla::Extension->load_all();
package Bugzilla::ModPerl::ResponseHandler;
use strict;
use base qw(ModPerl::Registry);
......
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