mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:05:55 +00:00
functions_enabled: trim spaces from disable_functions php ini setting
This commit is contained in:
@@ -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'))));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user