cvs: ZendEngine2 / zend_ini.c
| From: | Jani Taskinen | Date: | Fri, 31 Aug 2007 07:52:09 +0000 |
| Subject: | cvs: ZendEngine2 / zend_ini.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5981@lists.php.net to get a copy of this message | ||
jani Fri Aug 31 07:52:09 2007 UTC
Modified files:
/ZendEngine2 zend_ini.c
Log:
- Revert the revert: this is not causing any problems (or we have lot bigger issues), the bug is
elsewhere
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_ini.c?r1=1.57&r2=1.58&diff_format=u
Index: ZendEngine2/zend_ini.c
diff -u ZendEngine2/zend_ini.c:1.57 ZendEngine2/zend_ini.c:1.58
--- ZendEngine2/zend_ini.c:1.57 Thu Aug 23 18:41:55 2007
+++ ZendEngine2/zend_ini.c Fri Aug 31 07:52:09 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_ini.c,v 1.57 2007/08/23 18:41:55 tony2001 Exp $ */
+/* $Id: zend_ini.c,v 1.58 2007/08/31 07:52:09 jani Exp $ */
#include "zend.h"
#include "zend_qsort.h"
@@ -243,6 +243,10 @@
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;
}