Re: Smarty 1.5.0: bugs in cache handling
| From: | Andrei Zmievski | Date: | Mon, 10 Dec 2001 14:22:56 +0000 |
| Subject: | Re: Smarty 1.5.0: bugs in cache handling | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2238@lists.php.net to get a copy of this message | ||
On Sun, 09 Dec 2001, Andreas Kossmeier wrote:
> hi,
>
> caching doesn't work correctly in version 1.5.0
> (noone tried that, yet? ;)
>
> # the new introduced class variable $compile_id is default null and a
> set cache_id is ignored because of a incorrect boolean expression in
> the read_cache/write_cache functions.
>
> e.g. Line 1364-1365 should be
>
> if (isset($compile_id) || isset($cache_id)) {
> $auto_id = $compile_id . $cache_id;
>
> same in the _read_cache_file function
Thanks.
-Andrei
"Remember, high-tech means breaks down next week, while cutting edge means
breaks down this afternoon." -- Bruce Sterling