logo       

Re: [SMARTY] rebuild_cache() - just a thought: msg#00451

php.smarty.general

Subject: Re: [SMARTY] rebuild_cache() - just a thought

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@xxxxxxxxxxxx>


--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise