mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix Smarty_CacheResource_Keyvaluestore did use different keys on read/writes and clearCache() calls (Issue 169)
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
===== trunk =====
|
===== trunk =====
|
||||||
|
15.03.2014
|
||||||
|
- bugfix Smarty_CacheResource_Keyvaluestore did use different keys on read/writes and clearCache() calls (Issue 169)
|
||||||
|
|
||||||
13.03.2014
|
13.03.2014
|
||||||
- bugfix clearXxx() change of 27.1.2014 did not work when specifing cache_id or compile_id (forum topic 24868 and 24867)
|
- bugfix clearXxx() change of 27.1.2014 did not work when specifing cache_id or compile_id (forum topic 24868 and 24867)
|
||||||
|
|
||||||
|
@@ -54,7 +54,7 @@ abstract class Smarty_CacheResource_KeyValueStore extends Smarty_CacheResource
|
|||||||
public function populate(Smarty_Template_Cached $cached, Smarty_Internal_Template $_template)
|
public function populate(Smarty_Template_Cached $cached, Smarty_Internal_Template $_template)
|
||||||
{
|
{
|
||||||
$cached->filepath = $_template->source->uid
|
$cached->filepath = $_template->source->uid
|
||||||
. '#' . $this->sanitize($cached->source->name)
|
. '#' . $this->sanitize($cached->source->resource)
|
||||||
. '#' . $this->sanitize($cached->cache_id)
|
. '#' . $this->sanitize($cached->cache_id)
|
||||||
. '#' . $this->sanitize($cached->compile_id);
|
. '#' . $this->sanitize($cached->compile_id);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user