use compiled templates only
| From: | Mario Lopez | Date: | Fri, 15 Oct 2004 07:34:31 +0000 |
| Subject: | use compiled templates only | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11891@lists.php.net to get a copy of this message | ||
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!