diff options
author | mkanat%bugzilla.org <> | 2009-12-01 06:26:12 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-12-01 06:26:12 +0100 |
commit | a7508fffc4bd51b5c34620f9a9d04bf7831a0d2c (patch) | |
tree | 222ad1df58f9778ccd8ff0ba3e6b345af4cc43a2 | |
parent | 9387f2a798af3eb3052820b59ca53550f6fd63d3 (diff) | |
download | bugzilla-a7508fffc4bd51b5c34620f9a9d04bf7831a0d2c.tar.gz bugzilla-a7508fffc4bd51b5c34620f9a9d04bf7831a0d2c.tar.xz |
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
-rwxr-xr-x | mod_perl.pl | 6 |
1 files changed, 3 insertions, 3 deletions
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); |