diff Lib/IMPL/Web/TT/Document.pm @ 157:c7652cf29a80

Fixed PostToDom with empty fields issue. Fixed the includes search order for TT::Document.
author wizard
date Wed, 20 Oct 2010 18:02:47 +0400
parents 8638dd1374bf
children 4267a2ac3d46
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Document.pm	Tue Oct 05 17:20:51 2010 +0400
+++ b/Lib/IMPL/Web/TT/Document.pm	Wed Oct 20 18:02:47 2010 +0400
@@ -184,7 +184,7 @@
     
     if (not ref $src) {
     	my ($vol,$dir,$fileName) = File::Spec->splitpath($src);
-    	push @$includes, File::Spec->catpath($vol,$dir,'');
+    	unshift @$includes, File::Spec->catpath($vol,$dir,'');
     	$src = $fileName;
     }