From: Jani Taskinen Date: Fri, 31 Aug 2007 07:52:29 +0000 (+0000) Subject: MFH: Revert revert. X-Git-Tag: RELEASE_1_2_4~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6066b01d1b0f94b3f72c04405c4cfaf116bd85cb;p=php MFH: Revert revert. --- diff --git a/Zend/zend_ini.c b/Zend/zend_ini.c index 9f327e9e02..9b2a24c03c 100644 --- a/Zend/zend_ini.c +++ b/Zend/zend_ini.c @@ -243,6 +243,10 @@ ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, return FAILURE; } + if (stage == ZEND_INI_STAGE_ACTIVATE && modify_type == ZEND_INI_SYSTEM) { + ini_entry->modifiable = ZEND_INI_SYSTEM; + } + if (!(ini_entry->modifiable & modify_type)) { return FAILURE; }