functions_enabled: trim spaces from disable_functions php ini setting

This commit is contained in:
Andrew Dolgov 2021-04-12 11:55:19 +03:00
parent 61b4a678ea
commit eadaaebd58
1 changed files with 1 additions and 1 deletions

View File

@ -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'))));
}
}