- fix bug #54204, Can't set a value with a PATH section in php.ini

This commit is contained in:
Pierre Joye 2011-07-18 10:25:36 +00:00
parent f191ecaa9c
commit 801d140782

View File

@ -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