1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:15:55 +00:00

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

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