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/08/59 11:19

Alexandre Cognard wrote:

>Hi,
>
>In smarty, when $smarty->compile_check is set to true, smarty check if the
>smarty compiled template is the lastest.
>
>But, does this function check if the compiled template change after the
>compilation ? (In case of direct modification on the compiled template, user
>or others ?)
>
>

Yes, that is what compile_check is for. If the compiled file doesn't
exist, it gets compiled regardless of compile_check. After compilation
is done, it is only compared to the original template file time if
compile_check is on.

>And if not, does someone made something to test this and recompile correctly
>the generated template ?
>
>Regards,
>Alexandre
>
>
>

 

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

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