diff --git a/setup/check_install.php b/setup/check_install.php index eaa43e36d0..6765d1a6cb 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -693,8 +693,8 @@ function php_ini_check($name,$args) break; case 'contain': $check = lang('contain'); - $sep = $is_windows ? '[; ]+' : '[: ]+'; - $result = in_array($args['value'],split($sep,$ini_value)); + $sep = $is_windows ? '/[; ]+/' : '/[: ]+/'; + $result = in_array($args['value'],preg_split($sep,$ini_value)); break; case '=': default: