- bugfix cache file could include unneeded modifier plugins under certain condition

This commit is contained in:
uwe.tews@googlemail.com
2011-11-21 00:37:33 +00:00
parent 8f732cc4b6
commit 8b414e3b8a
2 changed files with 5 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
===== trunk ===== ===== trunk =====
21.11.2011
- bugfix cache file could include unneeded modifier plugins under certain condition
18.11.2011 18.11.2011
- bugfix declare all directory properties private to map direct access to getter/setter also on extended Smarty class - bugfix declare all directory properties private to map direct access to getter/setter also on extended Smarty class

View File

@@ -140,7 +140,7 @@ abstract class Smarty_Internal_TemplateCompilerBase {
// save template object in compiler class // save template object in compiler class
$this->template = $template; $this->template = $template;
// reset has noche code flag // reset has noche code flag
$this->template->has_nocache_code = false; $this->template->has_nocache_code = false;
$this->smarty->_current_file = $saved_filepath = $this->template->source->filepath; $this->smarty->_current_file = $saved_filepath = $this->template->source->filepath;
// template header code // template header code
$template_header = ''; $template_header = '';
@@ -569,6 +569,7 @@ abstract class Smarty_Internal_TemplateCompilerBase {
} else { } else {
$_output = $content; $_output = $content;
} }
$this->modifier_plugins = array();
$this->suppressNocacheProcessing = false; $this->suppressNocacheProcessing = false;
$this->tag_nocache = false; $this->tag_nocache = false;
return $_output; return $_output;