mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed bug #25895 (Incorrect detection of safe_mode limited ini options)
This commit is contained in:
parent
634d8aa5ed
commit
26f7af25ba
1 changed files with 1 additions and 1 deletions
|
@ -2397,7 +2397,7 @@ static int php_ini_check_path(char *option_name, int option_len, char *new_optio
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue