cvs: ZendEngine2 / zend_ini.c

From: Date: Fri, 08 Jun 2007 14:47:32 +0000
Subject: cvs: ZendEngine2 / zend_ini.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5842@lists.php.net to get a copy of this message
tony2001 Fri Jun 8 14:47:32 2007 UTC Modified files: /ZendEngine2 zend_ini.c Log: fix #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()) http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_ini.c?r1=1.54&r2=1.55&diff_format=u Index: ZendEngine2/zend_ini.c diff -u ZendEngine2/zend_ini.c:1.54 ZendEngine2/zend_ini.c:1.55 --- ZendEngine2/zend_ini.c:1.54 Mon Apr 16 09:43:52 2007 +++ ZendEngine2/zend_ini.c Fri Jun 8 14:47:32 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_ini.c,v 1.54 2007/04/16 09:43:52 dmitry Exp $ */ +/* $Id: zend_ini.c,v 1.55 2007/06/08 14:47:32 tony2001 Exp $ */ #include "zend.h" #include "zend_qsort.h" @@ -245,6 +245,10 @@ 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

« previous php.zend-engine.cvs (#5842) next »