summaryrefslogtreecommitdiffstats
path: root/mod_perl.pl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-05-27 01:48:49 +0200
committerDylan William Hardison <dylan@hardison.net>2017-05-27 01:48:49 +0200
commit48cf53e5b1891a29645432121467e29cdb9e061a (patch)
tree0d9ea38f4c8e5a07982018a216316fea6c3ac27b /mod_perl.pl
parentb1aece569468612c9a69332fc7a530749b39e977 (diff)
downloadbugzilla-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.pl3
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