Re: [SMARTY] Compile directory?
| From: | Monte Ohrt | Date: | Mon, 31 Mar 2003 14:59:55 +0000 |
| Subject: | Re: [SMARTY] Compile directory? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9008@lists.php.net to get a copy of this message | ||
No, because this won't work for every situation. There can be numerous
environment settings that can affect the outcome of the compiled file,
such as the compile_id.
Your best bet is to spider your web pages you want compiled (with
something like wget) right after a compile/cache removal.
On Sun, 2003-03-30 at 15:26, Tom Sommer wrote:
> Is there a function to force smarty to compile a directory of templates?
>
> something like $smarty->compile_dir($dir,$compile_id);
> --
> Tom Sommer, Denmark
> www.tsn.dk - www.dreamcoder.dk
--
Monte Ohrt <monte@ispi.net>