Fixed bug #25895 (Incorrect detection of safe_mode limited ini options)

This commit is contained in:
Ilia Alshanetsky 2003-10-20 01:59:35 +00:00
parent 634d8aa5ed
commit 26f7af25ba

View file

@ -2397,7 +2397,7 @@ static int php_ini_check_path(char *option_name, int option_len, char *new_optio
return 0; return 0;
} }
return strncmp(option_name, new_option_name, option_len); return !strncmp(option_name, new_option_name, option_len);
} }
/* {{{ proto string ini_set(string varname, string newvalue) /* {{{ proto string ini_set(string varname, string newvalue)