diff options
author | Stanislav Malyshev <stas@php.net> | 2015-03-17 13:04:36 -0700 |
---|---|---|
committer | Julien Pauli <jpauli@php.net> | 2015-03-18 10:32:56 +0100 |
commit | 048e0d58bf3a30849b0f7b7c1e43e8fb9fc8b01b (patch) | |
tree | 5e173827fc00b80016a5045e31646beec01b1da0 | |
parent | 93b8970b3316cd5c557eae2f03d7efc39a9eae53 (diff) | |
download | php-git-048e0d58bf3a30849b0f7b7c1e43e8fb9fc8b01b.tar.gz |
Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
-rw-r--r-- | win32/registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/registry.c b/win32/registry.c index 685a09d084..9f8782aff2 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -261,7 +261,7 @@ void UpdateIniFromRegistry(char *path TSRMLS_DC) zend_hash_get_current_data_ex(ht, (void**)&data, &pos) == SUCCESS && zend_hash_get_current_key_ex(ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING; zend_hash_move_forward_ex(ht, &pos)) { - zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); + zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_USER, PHP_INI_STAGE_ACTIVATE); } break; } |