fix an other PHP5.3 deprecated error

This commit is contained in:
Ralf Becker 2010-09-27 14:41:29 +00:00
parent 78fd392f85
commit d48410034c

View File

@ -689,8 +689,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: