Skip to content
Snippets Groups Projects
Commit 5568bdfa authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

let TT auto-detect templates encoding

parent 4211022e
No related branches found
No related tags found
No related merge requests found
......@@ -170,12 +170,9 @@ sub respond {
$self->{logger}->log(level => LOG_DEBUG, message => "");
## Parse template
my $tt2 = Template->new(
{
ENCODING => 'iso-8859-1', ## le défaut apparemment
INCLUDE_PATH => $self->{configuration}->{templates_dir}
}
);
my $tt2 = Template->new({
INCLUDE_PATH => $self->{configuration}->{templates_dir}
});
my $template;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment