- internals content cache should be clear when updating cache file

This commit is contained in:
Uwe.Tews@googlemail.com
2014-01-11 12:21:12 +00:00
parent 18ff092501
commit 1dfbe19ebf
2 changed files with 2 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
===== trunk ===== ===== trunk =====
11.01.2014 11.01.2014
- bugfix "* }" (spaces before right delimiter) was interpreted by mistake as comment end tag (Issue 170) - bugfix "* }" (spaces before right delimiter) was interpreted by mistake as comment end tag (Issue 170)
- internals content cache should be clear when updating cache file
08.01.2014 08.01.2014
- bugfix Smarty_CacheResource_Custom did not handle template resource type specifications on clearCache() calls (Issue 169) - bugfix Smarty_CacheResource_Custom did not handle template resource type specifications on clearCache() calls (Issue 169)

View File

@@ -372,6 +372,7 @@ class Smarty_Template_Cached
{ {
if (!$_template->source->recompiled) { if (!$_template->source->recompiled) {
if ($this->handler->writeCachedContent($_template, $content)) { if ($this->handler->writeCachedContent($_template, $content)) {
$this->content = null;
$this->timestamp = time(); $this->timestamp = time();
$this->exists = true; $this->exists = true;
$this->valid = true; $this->valid = true;