mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix disable of caching after isCached() call did not work (Forum Topic 20131)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
===== trunk =====
|
||||
13.10.2011
|
||||
- add caching for config files in Smarty_Resource
|
||||
- bugfix disable of caching after isCached() call did not work (Forum Topic 20131)
|
||||
|
||||
11.10.2011
|
||||
- add runtime checks for not matching {capture}/{/capture} calls (Forum Topic 20120)
|
||||
|
@@ -45,6 +45,10 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data {
|
||||
$_template = ($template instanceof $this->template_class)
|
||||
? $template
|
||||
: $this->smarty->createTemplate($template, $cache_id, $compile_id, $parent, false);
|
||||
// if called by Smarty object make sure we use current caching status
|
||||
if ($this instanceof Smarty) {
|
||||
$_template->caching = $this->caching;
|
||||
}
|
||||
// merge all variable scopes into template
|
||||
if ($merge_tpl_vars) {
|
||||
// save local variables
|
||||
|
Reference in New Issue
Block a user