mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-06 08:26:19 +02:00
observe $smarty->compile_check
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user