Smarty 1.5.0: bugs in cache handling

From: Date: Sun, 09 Dec 2001 10:02:03 +0000
Subject: Smarty 1.5.0: bugs in cache handling
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2219@lists.php.net to get a copy of this message
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 # another problem: a non-existant cache file is leading to an unneeded warning message in Line 1189 ('problem reading cache file') andreas -- andreas kossmeier bergfex.at - http://www.bergfex.at

« previous php.smarty.general (#2219) next »