functions_enabled: trim spaces from disable_functions php ini setting
This commit is contained in:
parent
61b4a678ea
commit
eadaaebd58
|
@ -1859,6 +1859,6 @@ class RSSUtils {
|
|||
|
||||
static function function_enabled($func) {
|
||||
return !in_array($func,
|
||||
explode(',', (string)ini_get('disable_functions')));
|
||||
explode(',', str_replace(" ", "", ini_get('disable_functions'))));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue