mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM configuration options)
This commit is contained in:
commit
4a2e613730
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user