summaryrefslogtreecommitdiffstats
path: root/mod_perl.pl
diff options
context:
space:
mode:
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