You are here: Re: [SMARTY] Validate compiled template « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Validate compiled template

Posted by Monte Ohrt on 10/01/94 11:19

messju mohr wrote:

>
>not really. the question was what happens if somebody modifies the
>*compiled* template.
>
>the compile_check is mainly the file's modification time compared of
>the source template vs. the modification time of the compiled
>template. if the compiled exists and is "newer" everythings fine for
>smarty and it doesn't attempt any recompilation. an edit of a compiled
>template very likely even raises the modifications so it doesn't make
>a change to smarty's (little naive) comparason.
>
>

There should never be a reason to edit the compiled template files
directly, so there is no function for this. If you are copying compiled
files to another server, it would be better to just remove them and let
them recompile, or at least touch them (and the templates) to get
everything in sync initially.

Monte

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация