diff options
-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); |