Re: Bug in Smarty::clear_cache()
| From: | Thomas Pundt | Date: | Mon, 12 Nov 2001 16:22:42 +0000 |
| Subject: | Re: Bug in Smarty::clear_cache() | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1908@lists.php.net to get a copy of this message | ||
Hi,
On 12-Nov-01 Monte Ohrt wrote:
| Change that line to:
|
| function clear_cache($tpl_file = null, $cache_id = null, $compile_id
| = null)
|
| The third parameter should be set to null by default, not demanded.
this won't work as announced -- if you do so, in Smarty::_rm_auto()
the parameter $auto_id "is set", so removing a cached directory won't
work.
Ciao,
Thomas
--
Thomas Pundt -------------------------- http://rp-online.de/
-----------------
RP-Online Verlagsgesellschaft mbH | pundt@rp-online.de
Blumenstrasse 28, D-40212 Duesseldorf | Schlossstrasse 42, D-40477 Duesseldorf