mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
*** empty log message ***
This commit is contained in:
9
NEWS
9
NEWS
@@ -1,10 +1,9 @@
|
||||
- added trusted_dir functionality (Monte)
|
||||
- consolidated security tests to one function (Monte)
|
||||
- prepend SMARTY_DIR to default directories in class constructor (Monte,
|
||||
- added trusted_dir functionality. (Monte)
|
||||
- consolidated security tests to one function. (Monte)
|
||||
- prepend SMARTY_DIR to default directories in class constructor. (Monte,
|
||||
Ricard Pillosu)
|
||||
- append _smarty_ to variable names in fetch() class function to avoid
|
||||
namespace conflicts (Monte)
|
||||
- fixed bug in _rm_auto with catendated null values (Monte, Thomas Pundt)
|
||||
namespace conflicts. (Monte)
|
||||
- introduced $compile_id class variable that can be used to set persistent
|
||||
compile identifier across multiple display calls. (Andrei)
|
||||
- fixed bug with concatenated null cache and compile identifiers. (Andrei)
|
||||
|
@@ -129,7 +129,7 @@ class Smarty
|
||||
);
|
||||
var $trusted_dir = array(); // array of directories where trusted templates
|
||||
// reside ($security is disabled during their
|
||||
// execution.)
|
||||
// execution).
|
||||
|
||||
var $left_delimiter = '{'; // template tag delimiters.
|
||||
var $right_delimiter = '}';
|
||||
@@ -543,9 +543,11 @@ class Smarty
|
||||
'depth' => 0);
|
||||
$included_tpls_idx = count($this->_smarty_debug_info) - 1;
|
||||
}
|
||||
$this->_compile_id = $_smarty_compile_id;
|
||||
$this->_inclusion_depth = 0;
|
||||
|
||||
if (!isset($_smarty_compile_id))
|
||||
$_smarty_compile_id = $this->compile_id;
|
||||
|
||||
$this->_inclusion_depth = 0;
|
||||
|
||||
if ($this->caching) {
|
||||
|
||||
|
@@ -129,7 +129,7 @@ class Smarty
|
||||
);
|
||||
var $trusted_dir = array(); // array of directories where trusted templates
|
||||
// reside ($security is disabled during their
|
||||
// execution.)
|
||||
// execution).
|
||||
|
||||
var $left_delimiter = '{'; // template tag delimiters.
|
||||
var $right_delimiter = '}';
|
||||
@@ -543,9 +543,11 @@ class Smarty
|
||||
'depth' => 0);
|
||||
$included_tpls_idx = count($this->_smarty_debug_info) - 1;
|
||||
}
|
||||
$this->_compile_id = $_smarty_compile_id;
|
||||
$this->_inclusion_depth = 0;
|
||||
|
||||
if (!isset($_smarty_compile_id))
|
||||
$_smarty_compile_id = $this->compile_id;
|
||||
|
||||
$this->_inclusion_depth = 0;
|
||||
|
||||
if ($this->caching) {
|
||||
|
||||
|
Reference in New Issue
Block a user