diff options
author | bbaetz%student.usyd.edu.au <> | 2002-04-27 11:16:28 +0200 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-04-27 11:16:28 +0200 |
commit | 8d97865049b228736912bbf64620987484bf697a (patch) | |
tree | e193a90260656eda143813a4d9418e4666eac85c /globals.pl | |
parent | 150660ee3f4201df06c96b802dbed17753e72b68 (diff) | |
download | bugzilla-8d97865049b228736912bbf64620987484bf697a.tar.gz bugzilla-8d97865049b228736912bbf64620987484bf697a.tar.xz |
Bug 97832 - turn on template compilation. This means that the minimum TT
version is now 2.07.
r=myk, gerv
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl index 248bcd594..4c93e800a 100644 --- a/globals.pl +++ b/globals.pl @@ -1527,6 +1527,11 @@ use Template; # Create the global template object that processes templates and specify # configuration parameters that apply to all templates processed in this script. + +# IMPORTANT - If you make any configuration changes here, make sure to make +# them in t/004.template.t and checksetup.pl. You may also need to change the +# date settings were last changed - see the comments in checksetup.pl for +# details $::template ||= Template->new( { # Colon-separated list of directories containing templates. @@ -1539,6 +1544,8 @@ $::template ||= Template->new( PRE_CHOMP => 1 , TRIM => 1 , + COMPILE_DIR => 'data', + # Functions for processing text within templates in various ways. FILTERS => { |