1
0

smartified plugins.nc.php

This commit is contained in:
onli
2012-03-02 15:39:58 +01:00
parent 12aad7b9d1
commit 38104f37e2
3 changed files with 307 additions and 232 deletions

View File

@@ -10,7 +10,7 @@
class Serendipity_Smarty_Security_Policy extends Smarty_Security
{
// these are the allowed functions only. - default as is
public $php_functions = array('isset', 'empty', 'count', 'sizeof', 'in_array', 'is_array', 'time', 'nl2br', 'serendipity_categoryURL', 'serendipity_archiveURL');
public $php_functions = array('isset', 'empty', 'count', 'sizeof', 'in_array', 'is_array', 'time', 'nl2br', 'serendipity_categoryURL', 'serendipity_archiveURL', 'serendipity_groupname');
// to disable all PHP functions
#public $php_functions = null;