mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
- bugfix in nocache sections {include} must not cache the subtemplate
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
05/08/2010
|
05/08/2010
|
||||||
- added plugin type modifiercompiler to produce compiled modifier code
|
- added plugin type modifiercompiler to produce compiled modifier code
|
||||||
- changed standard modifier plugins to the compiling versions whenever possible
|
- changed standard modifier plugins to the compiling versions whenever possible
|
||||||
|
- bugfix in nocache sections {include} must not cache the subtemplate
|
||||||
|
|
||||||
02/08/2010
|
02/08/2010
|
||||||
- bugfix strip did not work correctly in conjunction with comment lines
|
- bugfix strip did not work correctly in conjunction with comment lines
|
||||||
|
@@ -87,8 +87,11 @@ class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$_caching = 'null';
|
$_caching = 'null';
|
||||||
|
if ($this->compiler->nocache || $this->compiler->tag_nocache) {
|
||||||
|
$_caching = SMARTY_CACHING_OFF;
|
||||||
|
}
|
||||||
// default for included templates
|
// default for included templates
|
||||||
if ($this->compiler->template->caching && !$this->compiler->nocache) {
|
if ($this->compiler->template->caching && !$this->compiler->nocache && !$this->compiler->tag_nocache) {
|
||||||
$_caching = 9999;
|
$_caching = 9999;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user