changeset 399:753e981782ce

sync
author cin
date Mon, 12 May 2014 18:04:40 +0400
parents 38cb0b80e88e
children ef37ec102dab
files Lib/IMPL/Web/View/TTView.pm
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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(