Re: [SMARTY-DEV] Fully compile time includes
| From: | boots | Date: | Wed, 05 Oct 2005 22:10:09 +0000 |
| Subject: | Re: [SMARTY-DEV] Fully compile time includes | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-2791@lists.php.net to get a copy of this message | ||
--- Alain Williams <addw@phcomp.co.uk> wrote:
> What I want to achieve is that the contents of these small files are
> physically put into
> the compiled .php of the top level templates -- ie avoiding the extra
> work of opening the file.
> Perhaps some option to {include} might allow this or another verb
> like {include_static} or
> {include_paste} that just took the filename as an argument -- nothing
> else --
> might be another way.
Not an official solution but you may be interested in:
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=5068
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com