diff Lib/IMPL/Web/View/TTView.pm @ 399:753e981782ce

sync
author cin
date Mon, 12 May 2014 18:04:40 +0400
parents 6f2a494579cb
children 16ff604298c7
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTView.pm	Thu May 08 03:53:17 2014 +0400
+++ b/Lib/IMPL/Web/View/TTView.pm	Mon May 12 18:04:40 2014 +0400
@@ -36,6 +36,9 @@
 	my ($this,$model,$template,$args) = @_;
 	
 	my $context = Context->new($this->options);
+	eval {
+		warn $context->process('globals' . '.' . $this->tt_ext, $args);
+	};
 	my $layout = delete $args->{layout} || $this->layout;
 	
 	return $context->invoke_environment(