Patch bug69134.patch for PHP options/info functions Bug #69134
Patch version 2015-03-04 18:53 UTC
Return to Bug #69134 |
Download this patch
Patch Revisions:
Developer: ab@php.net
diff --git a/win32/registry.c b/win32/registry.c
index 685a09d..9f8782a 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;
}
|