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;
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: