we shall explode on ',' only

This commit is contained in:
Thomas Müller 2014-01-07 14:53:02 +01:00
parent 07a84aa5eb
commit 9d869ab596
1 changed files with 1 additions and 1 deletions

View File

@ -858,7 +858,7 @@ class OC_Helper {
if (!function_exists($function_name)) {
return false;
}
$disabled = explode(', ', ini_get('disable_functions'));
$disabled = explode(',', ini_get('disable_functions'));
if (in_array($function_name, $disabled)) {
return false;
}