Re: clear_compiled_tpl() bug or missing feature
| From: | Thomas Schulz | Date: | Wed, 05 Nov 2003 11:33:50 +0000 |
| Subject: | Re: clear_compiled_tpl() bug or missing feature | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1911@lists.php.net to get a copy of this message | ||
Thomas Schulz wrote in php.smarty.dev:
> // clear entire compile directory
> $smarty->clear_compiled_tpl();
>
> Works not as expexted, because it only deletes the compiled templates
> of the current compile-ID. (2.6.0 RC2)
o.k., this works:
$tpl->clear_compiled_tpl(null, '');
> Is there a posibility to clear entire compile directory or maybe better
> to have grouped compile-ids with the same behavior of cache groups?
This also, I like hidden features... ;-)
--
http://4bconsult.de