mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #1845 register another PHP function(strstr)
This commit is contained in:
@@ -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') );
|
||||
|
||||
Reference in New Issue
Block a user