Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/Template/Context.pm
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,8 @@ sub _init {
# EXPOSE_BLOCKS - make blocks visible as pseudo-files
# DEBUG_FORMAT - format for generating template runtime debugging messages
# DEBUG - format for generating template runtime debugging messages
# PRE_COMPILE_HOOK - hook to be run after template has been loaded from file,
# but before template is compiled

$self->{ RECURSION } = $config->{ RECURSION } || 0;
$self->{ EVAL_PERL } = $config->{ EVAL_PERL } || 0;
Expand All @@ -921,6 +923,7 @@ sub _init {
? $config->{ DEBUG } & ( Template::Constants::DEBUG_CONTEXT
| Template::Constants::DEBUG_FLAGS )
: $DEBUG;
$self->{ PRE_COMPILE_HOOK } = $config->{ PRE_COMPILE_HOOK } || 0;

return $self;
}
Expand Down
Loading