mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
- bugfix when comparing timestamps in sysplugins/smarty_internal_config.php
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
30/04/2010
|
||||
- bugfix when comparing timestamps in sysplugins/smarty_internal_config.php
|
||||
|
||||
===== RC1 =====
|
||||
|
||||
27/04/2010
|
||||
- change default of $debugging_ctrl to 'NONE'
|
||||
- optimization of compiled code of {foreach} and {for} loops
|
||||
|
@@ -172,7 +172,7 @@ class Smarty_Internal_Config {
|
||||
public function mustCompile ()
|
||||
{
|
||||
return $this->mustCompile === null ?
|
||||
$this->mustCompile = ($this->smarty->force_compile || $this->smarty->compile_check && $this->getCompiledTimestamp () !== $this->getTimestamp ()):
|
||||
$this->mustCompile = ($this->smarty->force_compile || $this->smarty->compile_check && $this->getCompiledTimestamp () < $this->getTimestamp ()):
|
||||
$this->mustCompile;
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user