|
Lines 66-73
sub new {
Link Here
|
| 66 |
COMPILE_EXT => C4::Context->config('template_cache_dir')?'.ttc':'', |
66 |
COMPILE_EXT => C4::Context->config('template_cache_dir')?'.ttc':'', |
| 67 |
COMPILE_DIR => C4::Context->config('template_cache_dir')?C4::Context->config('template_cache_dir'):'',, |
67 |
COMPILE_DIR => C4::Context->config('template_cache_dir')?C4::Context->config('template_cache_dir'):'',, |
| 68 |
INCLUDE_PATH => \@includes, |
68 |
INCLUDE_PATH => \@includes, |
| 69 |
FILTERS => {}, |
69 |
FILTERS => {} |
| 70 |
ENCODING => 'utf8', # templates don't have BOM, see Template::FAQ |
|
|
| 71 |
} |
70 |
} |
| 72 |
) or die Template->error(); |
71 |
) or die Template->error(); |
| 73 |
my $self = { |
72 |
my $self = { |
| 74 |
- |
|
|