summaryrefslogtreecommitdiff
path: root/main/configuration-parser.y
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-02-26 15:36:23 +0000
committerZeev Suraski <zeev@php.net>2000-02-26 15:36:23 +0000
commit1261271839aa515a30685ccf1fba5d0b3811b866 (patch)
treec977cb48c69a5ad9693396b863ecba803d5d3872 /main/configuration-parser.y
parentfd344d36026b0f9d8f91be968284b4755d9eed76 (diff)
downloadphp-git-1261271839aa515a30685ccf1fba5d0b3811b866.tar.gz
Allow the INI callbacks to know at what stage PHP is
Diffstat (limited to 'main/configuration-parser.y')
-rw-r--r--main/configuration-parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/configuration-parser.y b/main/configuration-parser.y
index b5db10b03c..c31b2751bc 100644
--- a/main/configuration-parser.y
+++ b/main/configuration-parser.y
@@ -410,7 +410,7 @@ statement:
if (parsing_mode==PARSING_MODE_CFG) {
zend_hash_update(active_hash_table, $1.value.str.val, $1.value.str.len+1, &$3, sizeof(zval), NULL);
if (active_hash_table == &configuration_hash) {
- php_alter_ini_entry($1.value.str.val, $1.value.str.len+1, $3.value.str.val, $3.value.str.len+1, PHP_INI_SYSTEM);
+ php_alter_ini_entry($1.value.str.val, $1.value.str.len+1, $3.value.str.val, $3.value.str.len+1, PHP_INI_SYSTEM, PHP_INI_STAGE_STARTUP);
}
} else if (parsing_mode==PARSING_MODE_BROWSCAP) {
if (current_section) {