From a7508fffc4bd51b5c34620f9a9d04bf7831a0d2c Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 1 Dec 2009 05:26:12 +0000 Subject: Bug 532025: Under mod_perl, starting Apache w/ extensions enabled was throwing the "not a valid name" error. Patch by Max Kanat-Alexander (module owner) a=mkanat --- mod_perl.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod_perl.pl') diff --git a/mod_perl.pl b/mod_perl.pl index dc737af13..dac8622c8 100755 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -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); -- cgit v1.2.3-24-g4f1b