comparison 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
comparison
equal deleted inserted replaced
156:8638dd1374bf 157:c7652cf29a80
182 $this->_context(undef); 182 $this->_context(undef);
183 $this->_provider(undef); 183 $this->_provider(undef);
184 184
185 if (not ref $src) { 185 if (not ref $src) {
186 my ($vol,$dir,$fileName) = File::Spec->splitpath($src); 186 my ($vol,$dir,$fileName) = File::Spec->splitpath($src);
187 push @$includes, File::Spec->catpath($vol,$dir,''); 187 unshift @$includes, File::Spec->catpath($vol,$dir,'');
188 $src = $fileName; 188 $src = $fileName;
189 } 189 }
190 190
191 $this->provider( 191 $this->provider(
192 ENCODING => $encoding, 192 ENCODING => $encoding,