mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +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)
|
||||
|
||||
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)
|
||||
- fixed a bug with incorrectly combined cache and compile id in
|
||||
clear_cache(). (Andrei)
|
||||
|
@@ -539,6 +539,8 @@ class Smarty
|
||||
if (!isset($_smarty_compile_id))
|
||||
$_smarty_compile_id = $this->compile_id;
|
||||
|
||||
$this->_compile_id = $_smarty_compile_id;
|
||||
|
||||
$this->_inclusion_depth = 0;
|
||||
|
||||
if ($this->caching) {
|
||||
|
@@ -539,6 +539,8 @@ class Smarty
|
||||
if (!isset($_smarty_compile_id))
|
||||
$_smarty_compile_id = $this->compile_id;
|
||||
|
||||
$this->_compile_id = $_smarty_compile_id;
|
||||
|
||||
$this->_inclusion_depth = 0;
|
||||
|
||||
if ($this->caching) {
|
||||
|
Reference in New Issue
Block a user