mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
Fixed compile_id problem.
This commit is contained in:
6
NEWS
6
NEWS
@@ -1,8 +1,10 @@
|
|||||||
- fixed problem with using assigned vars with {include_php ...} filepath
|
- fixed a problem with compile_id usage. (Andrei)
|
||||||
|
- fixed problem with using assigned vars with {include_php ...} filepath.
|
||||||
(Monte)
|
(Monte)
|
||||||
|
|
||||||
Version 1.5.2
|
Version 1.5.2
|
||||||
-------------
|
-------------
|
||||||
- added Smarty object as fifth argument for template resource functions
|
- added Smarty object as fifth argument for template resource functions.
|
||||||
(Monte)
|
(Monte)
|
||||||
- fixed a bug with incorrectly combined cache and compile id in
|
- fixed a bug with incorrectly combined cache and compile id in
|
||||||
clear_cache(). (Andrei)
|
clear_cache(). (Andrei)
|
||||||
|
@@ -539,6 +539,8 @@ class Smarty
|
|||||||
if (!isset($_smarty_compile_id))
|
if (!isset($_smarty_compile_id))
|
||||||
$_smarty_compile_id = $this->compile_id;
|
$_smarty_compile_id = $this->compile_id;
|
||||||
|
|
||||||
|
$this->_compile_id = $_smarty_compile_id;
|
||||||
|
|
||||||
$this->_inclusion_depth = 0;
|
$this->_inclusion_depth = 0;
|
||||||
|
|
||||||
if ($this->caching) {
|
if ($this->caching) {
|
||||||
|
@@ -539,6 +539,8 @@ class Smarty
|
|||||||
if (!isset($_smarty_compile_id))
|
if (!isset($_smarty_compile_id))
|
||||||
$_smarty_compile_id = $this->compile_id;
|
$_smarty_compile_id = $this->compile_id;
|
||||||
|
|
||||||
|
$this->_compile_id = $_smarty_compile_id;
|
||||||
|
|
||||||
$this->_inclusion_depth = 0;
|
$this->_inclusion_depth = 0;
|
||||||
|
|
||||||
if ($this->caching) {
|
if ($this->caching) {
|
||||||
|
Reference in New Issue
Block a user