mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
Made is possible to assign variables in pre/postfilters.
This commit is contained in:
3
NEWS
3
NEWS
@@ -1,3 +1,6 @@
|
||||
- made it possible to assign variables in pre/postfilter
|
||||
plugins. (Andrei)
|
||||
|
||||
Version 2.0.1
|
||||
-------------
|
||||
- rename plugin .make_timestamp.php to shared.make_timestamp.php.
|
||||
|
@@ -933,6 +933,7 @@ function _generate_debug_output() {
|
||||
$smarty_compiler->security_settings = $this->security_settings;
|
||||
$smarty_compiler->trusted_dir = $this->trusted_dir;
|
||||
$smarty_compiler->_plugins = &$this->_plugins;
|
||||
$smarty_compiler->_tpl_vars = &$this->_tpl_vars;
|
||||
|
||||
if ($smarty_compiler->_compile_file($tpl_file, $template_source, $template_compiled))
|
||||
return true;
|
||||
|
@@ -933,6 +933,7 @@ function _generate_debug_output() {
|
||||
$smarty_compiler->security_settings = $this->security_settings;
|
||||
$smarty_compiler->trusted_dir = $this->trusted_dir;
|
||||
$smarty_compiler->_plugins = &$this->_plugins;
|
||||
$smarty_compiler->_tpl_vars = &$this->_tpl_vars;
|
||||
|
||||
if ($smarty_compiler->_compile_file($tpl_file, $template_source, $template_compiled))
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user