cvs: /php4 configuration-parser.y

From: Date: Sun, 31 Oct 1999 11:56:53 +0000
Subject: cvs: /php4 configuration-parser.y
Groups: php.version4 
Request: Send a blank email to php-version4+get-5808@lists.php.net to get a copy of this message
rubys Sun Oct 31 06:56:53 1999 EDT Modified files: /php4 configuration-parser.y Log: # # Never saw a response to PHP-DEV post of 25-OCT # # Given the existence of knownDirectives, I figured that option 2 # was closest to the original design intent. Index: php4/configuration-parser.y diff -u php4/configuration-parser.y:1.19 php4/configuration-parser.y:1.20 --- php4/configuration-parser.y:1.19 Wed Oct 13 15:55:25 1999 +++ php4/configuration-parser.y Sun Oct 31 06:56:22 1999 @@ -19,7 +19,7 @@ -/* $Id: configuration-parser.y,v 1.19 1999/10/13 19:55:25 thies Exp $ */ +/* $Id: configuration-parser.y,v 1.20 1999/10/31 11:56:22 rubys Exp $ */ #define DEBUG_CFG_PARSER 1 #include "php.h" @@ -357,6 +357,9 @@ $3.type = IS_STRING; if (parsing_mode==PARSING_MODE_CFG) { zend_hash_update(active_zend_hash_table, $1.value.str.val, $1.value.str.len+1, &$3, sizeof(pval), NULL); + if (active_zend_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); + } } else if (parsing_mode==PARSING_MODE_BROWSCAP) { php3_str_tolower($1.value.str.val,$1.value.str.len); zend_hash_update(current_section->value.ht, $1.value.str.val, $1.value.str.len+1, &$3, sizeof(pval), NULL);

« previous php.version4 (#5808) next »