diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-05-27 01:48:49 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-05-27 01:48:49 +0200 |
commit | 48cf53e5b1891a29645432121467e29cdb9e061a (patch) | |
tree | 0d9ea38f4c8e5a07982018a216316fea6c3ac27b /mod_perl.pl | |
parent | b1aece569468612c9a69332fc7a530749b39e977 (diff) | |
download | bugzilla-48cf53e5b1891a29645432121467e29cdb9e061a.tar.gz bugzilla-48cf53e5b1891a29645432121467e29cdb9e061a.tar.xz |
Bug 1352264 - Preload all templates (re-apply)
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 |