View | Details | Raw Unified | Return to bug 36357
Collapse All | Expand All

(-)a/C4/Templates.pm (-2 / +1 lines)
Lines 6-11 use Carp qw( carp ); Link Here
6
use CGI qw ( -utf8 );
6
use CGI qw ( -utf8 );
7
use List::MoreUtils qw( uniq );
7
use List::MoreUtils qw( uniq );
8
use Template::Filters;
8
use Template::Filters;
9
use Koha::Template::Filters::I18N;
9
10
10
# Copyright 2009 Chris Cormack and The Koha Dev Team
11
# Copyright 2009 Chris Cormack and The Koha Dev Team
11
#
12
#
Lines 71-77 sub new { Link Here
71
72
72
    # Do not use template cache if script is called from commandline
73
    # Do not use template cache if script is called from commandline
73
    my $use_template_cache = C4::Context->config('template_cache_dir') && defined $ENV{GATEWAY_INTERFACE};
74
    my $use_template_cache = C4::Context->config('template_cache_dir') && defined $ENV{GATEWAY_INTERFACE};
74
    require Koha::Template::Filters::I18N;
75
    my $template = Template->new(
75
    my $template = Template->new(
76
        {   EVAL_PERL    => 1,
76
        {   EVAL_PERL    => 1,
77
            ABSOLUTE     => 1,
77
            ABSOLUTE     => 1,
78
- 

Return to bug 36357