diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-04-26 21:33:11 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-04-26 21:33:19 +0200 |
commit | c82963a57cf97932870e11de8cf2a6205132b954 (patch) | |
tree | 74724c840146cb9dd0713a9251f96114df7efc51 /mod_perl.pl | |
parent | effcc512d52b6bfca05db4df18087bbc2ca8057e (diff) | |
download | bugzilla-c82963a57cf97932870e11de8cf2a6205132b954.tar.gz bugzilla-c82963a57cf97932870e11de8cf2a6205132b954.tar.xz |
Bug 1352264 - Preload all templates
Diffstat (limited to 'mod_perl.pl')
-rw-r--r-- | mod_perl.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod_perl.pl b/mod_perl.pl index 0a0a0df6a..f3beb88db 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -79,6 +79,9 @@ $Bugzilla::extension_packages = Bugzilla::Extension->load_all(); Bugzilla->preload_features(); +# Force instantiation of template so Bugzilla::Template::PreloadProvider can do its magic. +Bugzilla->template; + # 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 |