mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-07 11:54:26 +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
|
27/04/2010
|
||||||
- change default of $debugging_ctrl to 'NONE'
|
- change default of $debugging_ctrl to 'NONE'
|
||||||
- optimization of compiled code of {foreach} and {for} loops
|
- optimization of compiled code of {foreach} and {for} loops
|
||||||
|
@@ -172,7 +172,7 @@ class Smarty_Internal_Config {
|
|||||||
public function mustCompile ()
|
public function mustCompile ()
|
||||||
{
|
{
|
||||||
return $this->mustCompile === null ?
|
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;
|
$this->mustCompile;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user