mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
- bugfix cache file could include unneeded modifier plugins under certain condition
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
===== trunk =====
|
||||
21.11.2011
|
||||
- bugfix cache file could include unneeded modifier plugins under certain condition
|
||||
|
||||
18.11.2011
|
||||
- bugfix declare all directory properties private to map direct access to getter/setter also on extended Smarty class
|
||||
|
||||
|
@@ -140,7 +140,7 @@ abstract class Smarty_Internal_TemplateCompilerBase {
|
||||
// save template object in compiler class
|
||||
$this->template = $template;
|
||||
// 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;
|
||||
// template header code
|
||||
$template_header = '';
|
||||
@@ -569,6 +569,7 @@ abstract class Smarty_Internal_TemplateCompilerBase {
|
||||
} else {
|
||||
$_output = $content;
|
||||
}
|
||||
$this->modifier_plugins = array();
|
||||
$this->suppressNocacheProcessing = false;
|
||||
$this->tag_nocache = false;
|
||||
return $_output;
|
||||
|
Reference in New Issue
Block a user