issue #1845 register another PHP function(stristr)

Used in new PEM
This commit is contained in:
HWFord 2024-01-03 15:26:21 +01:00
parent a94fbb8225
commit 9fd4026a97

View file

@ -117,6 +117,7 @@ class Template
$this->smarty->registerPlugin('modifier', 'in_array', 'in_array');
$this->smarty->registerPlugin('modifier', 'ucfirst', 'ucfirst');
$this->smarty->registerPlugin('modifier', 'strstr', 'strstr');
$this->smarty->registerPlugin('modifier', 'stristr', 'stristr');
$this->smarty->registerPlugin('modifier', 'str_ireplace', 'str_ireplace');
$this->smarty->registerPlugin('modifier', 'explode', array('Template', 'mod_explode') );
$this->smarty->registerPlugin('modifier', 'ternary', array('Template', 'mod_ternary') );