diff Lib/IMPL/Web/View/TTLoader.pm @ 185:ae8072f2f2a3

IMPL::Web::View::TTDocument tests, fixes
author cin
date Thu, 29 Mar 2012 18:22:15 +0400
parents 7525ea9a071a
children 4d0e1962161c
line wrap: on
line diff
--- a/Lib/IMPL/Web/View/TTLoader.pm	Thu Mar 29 01:54:20 2012 +0400
+++ b/Lib/IMPL/Web/View/TTLoader.pm	Thu Mar 29 18:22:15 2012 +0400
@@ -77,6 +77,8 @@
 sub _appendExt {
 	my ($this,$name) = @_;
 	
+	return $name unless $this->ext;
+	
 	if (length $this->ext and substr( $name, -length($this->ext) ) eq $this->ext) {
 		return $name;
 	} else {