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

index fc8d0349922e53ba2687cb1467dabe2ba52d661c..fd5ea0f74d7e41cbbe5a98a72a32c4bd5884a5e1 100644 (file)
@@ -247,10 +247,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;
-       }
-
        duplicate = estrndup(new_value, new_value_length);
 
        if (!ini_entry->on_modify