diff options
| author | Pierre Joye <pajoye@php.net> | 2011-07-18 21:00:59 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2011-07-18 21:00:59 +0000 |
| commit | 8d1012b2c3cb89566ea4e8a9fb5fc782d7f2b877 (patch) | |
| tree | cef4e97b67341148ba1cc63e0e11805cfade5b0d /main/php_ini.c | |
| parent | 1d3696eecb31b924c207886da203830411f868f7 (diff) | |
| download | php-git-8d1012b2c3cb89566ea4e8a9fb5fc782d7f2b877.tar.gz | |
- MFH: Fixed bug #54204 (Can't set a value with a PATH section in php.ini).
Diffstat (limited to 'main/php_ini.c')
| -rw-r--r-- | main/php_ini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index 5b13adb258..53e5cfc8d2 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -832,7 +832,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 |
