]> granicus.if.org Git - php/commitdiff
MFH: revert the patch which breaks multithreaded servers
authorAntony Dovgal <tony2001@php.net>
Thu, 23 Aug 2007 18:42:42 +0000 (18:42 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 23 Aug 2007 18:42:42 +0000 (18:42 +0000)
Zend/zend_ini.c

index 9b2a24c03cd660689938661d1122715bef4bbe11..9f327e9e020cd181f2a6b9aaf8021d294633e768 100644 (file)
@@ -243,10 +243,6 @@ 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;
        }