Re: [SMARTY] use compiled templates only

From: Date: Fri, 15 Oct 2004 13:35:29 +0000
Subject: Re: [SMARTY] use compiled templates only
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11895@lists.php.net to get a copy of this message
set compile_check = false after they are initially compiled. Mario Lopez wrote:
Hi! Is there a way to tell smarty not to try to parse templates from smarty/templates but use the compiled version only (from smarty/compile) this is because when delivering product to customer it is being encoded by zend and since it encodes templates, smarty is no more able to parse them, encoded compiled version however work just fine! So the idea here is to prepare all template compiled versions and tell smarty to use only them without bothering abuot smarty/templates directory at all since it is not being delivered to customer and will be empty. Thanks for help!


« previous php.smarty.general (#11895) next »