(cp 9fd4026) issue #1845 register another PHP function(stristr)

Used in new PEM
This commit is contained in:
plegall
2024-01-10 14:27:55 +01:00
parent c36c21223e
commit 6bac7d0815
+1
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') );