Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
beded135
Commit
beded135
authored
Mar 01, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 119657 - template error checking
r=gerv, justdave
parent
d0e08d06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
globals.pl
globals.pl
+6
-2
No files found.
globals.pl
View file @
beded135
...
...
@@ -1584,7 +1584,7 @@ use Template;
# Create the global template object that processes templates and specify
# configuration parameters that apply to all templates processed in this script.
$::template
=
Template
->
new
(
$::template
||
=
Template
->
new
(
{
# Colon-separated list of directories containing templates.
INCLUDE_PATH
=>
"template/custom:template/default"
,
...
...
@@ -1596,6 +1596,9 @@ $::template = Template->new(
PRE_CHOMP
=>
1
,
TRIM
=>
1
,
COMPILE_EXT
=>
".ttc"
,
COMPILE_DIR
=>
"data/templates"
,
# Functions for processing text within templates in various ways.
FILTERS
=>
{
...
...
@@ -1614,7 +1617,8 @@ $::template = Template->new(
}
}
,
}
);
)
||
DisplayError
(
"Template creation failed: "
.
Template
->
error
())
&&
exit
;
# Use the Toolkit Template's Stash module to add utility pseudo-methods
# to template variables.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment