Commit 07f94a61 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 104261 - incorrect template paths. r=myk, ddk.

parent 5d6054f4
...@@ -42,7 +42,7 @@ use Template; ...@@ -42,7 +42,7 @@ use Template;
my $template = Template->new( my $template = Template->new(
{ {
# Colon-separated list of directories containing templates. # Colon-separated list of directories containing templates.
INCLUDE_PATH => 'template/default' , INCLUDE_PATH => 'template/custom:template/default' ,
# Allow templates to be specified with relative paths. # Allow templates to be specified with relative paths.
RELATIVE => 1 RELATIVE => 1
} }
......
...@@ -42,7 +42,7 @@ use Template; ...@@ -42,7 +42,7 @@ use Template;
my $template = Template->new( my $template = Template->new(
{ {
# Colon-separated list of directories containing templates. # Colon-separated list of directories containing templates.
INCLUDE_PATH => 'template/default' , INCLUDE_PATH => 'template/custom:template/default' ,
# Allow templates to be specified with relative paths. # Allow templates to be specified with relative paths.
RELATIVE => 1 RELATIVE => 1
} }
......
...@@ -45,7 +45,7 @@ use Template; ...@@ -45,7 +45,7 @@ use Template;
my $template = Template->new( my $template = Template->new(
{ {
# Colon-separated list of directories containing templates. # Colon-separated list of directories containing templates.
INCLUDE_PATH => "template/default" , INCLUDE_PATH => "template/custom:template/default" ,
# Allow templates to be specified with relative paths. # Allow templates to be specified with relative paths.
RELATIVE => 1 RELATIVE => 1
} }
......
...@@ -45,7 +45,7 @@ use Template; ...@@ -45,7 +45,7 @@ use Template;
my $template = Template->new( my $template = Template->new(
{ {
# Colon-separated list of directories containing templates. # Colon-separated list of directories containing templates.
INCLUDE_PATH => "template/default" , INCLUDE_PATH => "template/custom:template/default" ,
# Allow templates to be specified with relative paths. # Allow templates to be specified with relative paths.
RELATIVE => 1 RELATIVE => 1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment