fix an other PHP5.3 deprecated error

This commit is contained in:
Ralf Becker 2010-09-27 14:28:36 +00:00
parent cce85a5340
commit 453945c9c9

View File

@ -693,8 +693,8 @@ function php_ini_check($name,$args)
break; break;
case 'contain': case 'contain':
$check = lang('contain'); $check = lang('contain');
$sep = $is_windows ? '[; ]+' : '[: ]+'; $sep = $is_windows ? '/[; ]+/' : '/[: ]+/';
$result = in_array($args['value'],split($sep,$ini_value)); $result = in_array($args['value'],preg_split($sep,$ini_value));
break; break;
case '=': case '=':
default: default: