issue #1845 register another PHP function(strstr)

This commit is contained in:
HWFord
2023-08-07 17:12:59 +02:00
parent 29ccabc89f
commit c88ca1ed0f

View File

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