observe $smarty->compile_check

This commit is contained in:
Uwe Tews
2015-06-29 20:48:49 +02:00
parent 83f6154eae
commit c84e406db5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class Smarty_Template_Cached
// lifetime expired
$this->valid = false;
}
if ($this->valid && $_template->source->timestamp > $this->timestamp) {
if ($this->valid && $_template->smarty->compile_check && $_template->source->timestamp > $this->timestamp) {
$this->valid = false;
}
if ($this->valid || !$_template->smarty->cache_locking) {