Re: [SMARTY] Caching - This is a Smarty "feature"!
| From: | Joscha Feth | Date: | Wed, 19 Mar 2003 01:13:25 +0000 |
| Subject: | Re: [SMARTY] Caching - This is a Smarty "feature"! | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8729@lists.php.net to get a copy of this message | ||
Messju Mohr wrote:
> Hello,
>
> i just committed a fix of little flaws with readdir() in the
> rm-handling. unfortunately i cannot reproduce the bug with "0" as a
> cache-group. so if you like, can you test if this was the cause of the
> strange behaviour in your setup?
try using a cache-group with false - I reported the same as above but with a
boolean some time ago.
I guess a simple:
if(is_bool($cachegroup)) {
$cachegroup = (string) (int) $cachegroup;
} else {
$cachegroup = (string) $cachegroup;
}
would fix that.
greets,
Joscha