Re: [SMARTY] rebuild_cache() - just a thought
| From: | Ferdinand Beyer | Date: | Thu, 30 Jan 2003 20:59:14 +0000 |
| Subject: | Re: [SMARTY] rebuild_cache() - just a thought | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7427@lists.php.net to get a copy of this message | ||
On 30 Jan 2003 at 13:49, Hoffman, Geoffrey wrote:
> I'm wondering how tough it would be to add a
>
> rebuild_cache('template.tpl', $cache_id, $compile_id)
>
> so i can call that right after I call clear_cache() in my CMS.
> Or, so it internally would call clear_cache() and then _write_cache_file ...
Simply fetch()'ing a template after calling clear_cache() will do the
job.
--
Ferdinand Beyer
<fbeyer@clickhand.de>