diff options
Diffstat (limited to 'mod_perl.pl')
-rw-r--r-- | mod_perl.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod_perl.pl b/mod_perl.pl index 42b74fde5..c682bece6 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -76,6 +76,12 @@ my $server = Apache2::ServerUtil->server; my $conf = Bugzilla::ModPerl->apache_config($cgi_path); $server->add_config([ grep { length $_ } split("\n", $conf)]); +# Pre-load localconfig. It might already be loaded, but we need to make sure. +Bugzilla->localconfig; +if ($ENV{LOCALCONFIG_ENV}) { + delete @ENV{ (Bugzilla::Install::Localconfig::ENV_KEYS) }; +} + # Pre-load all extensions Bugzilla::Extension->load_all(); |