mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
- fix bug #54204, Can't set a value with a PATH section in php.ini
This commit is contained in:
parent
f191ecaa9c
commit
801d140782
@ -828,7 +828,7 @@ PHPAPI void php_ini_activate_per_dir_config(char *path, uint path_len TSRMLS_DC)
|
||||
|
||||
#if PHP_WIN32
|
||||
memcpy(path_bak, path, path_len);
|
||||
path_bak[path_len - 1] = 0;
|
||||
path_bak[path_len] = 0;
|
||||
TRANSLATE_SLASHES_LOWER(path_bak);
|
||||
path = path_bak;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user