mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
MFH: fix #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set())
This commit is contained in:
parent
c8d54ca3fe
commit
0ca8dab47d
@ -244,6 +244,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;
|
||||
}
|
||||
|
||||
duplicate = estrndup(new_value, new_value_length);
|
||||
|
||||
if (!ini_entry->on_modify
|
||||
|
Loading…
Reference in New Issue
Block a user