summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-04-10 18:19:34 +0200
committerDylan William Hardison <dylan@hardison.net>2017-04-10 18:19:34 +0200
commit88a5f1111b85d8a1dd17cabb7f90b019a27f8464 (patch)
tree0b625755724218f83b67b1fe168eeb9c0eff8132 /Bugzilla/Template.pm
parentecbdca8c3f06dd420db6a960c8808615dae6848a (diff)
downloadbugzilla-88a5f1111b85d8a1dd17cabb7f90b019a27f8464.tar.gz
bugzilla-88a5f1111b85d8a1dd17cabb7f90b019a27f8464.tar.xz
Bug 1355127 - rewrite field-descs.none.tmpl in perl
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 1f0892a32..9cac9ad87 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -681,6 +681,9 @@ sub create {
INCLUDE_PATH => $opts{'include_path'}
|| _include_path($opts{'language'}),
+ # allow PERL/RAWPERL because doing so can boost performance
+ EVAL_PERL => 1,
+
# Remove white-space before template directives (PRE_CHOMP) and at the
# beginning and end of templates and template blocks (TRIM) for better
# looking, more compact content. Use the plus sign at the beginning