mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 12:54:26 +02:00
14/05/2010
- bugfix compile new config files if compile_check and force_compile = false - added variable static classes names to template syntax
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
14/05/2010
|
||||||
|
- bugfix compile new config files if compile_check and force_compile = false
|
||||||
|
- added variable static classes names to template syntax
|
||||||
|
|
||||||
11/05/2010
|
11/05/2010
|
||||||
- bugfix make sure that the cache resource is loaded in all conditions when template methods getCached... are called externally
|
- bugfix make sure that the cache resource is loaded in all conditions when template methods getCached... are called externally
|
||||||
- reverted the change 0f 30/04/2010. With the exception of forward references template functions can be again called by a standard tag.
|
- reverted the change 0f 30/04/2010. With the exception of forward references template functions can be again called by a standard tag.
|
||||||
|
@@ -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->getCompiledTimestamp () === false || $this->smarty->compile_check && $this->getCompiledTimestamp () < $this->getTimestamp ()):
|
||||||
$this->mustCompile;
|
$this->mustCompile;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user