[PHP4BETA] CVS update: php4

From: Date: Tue, 11 May 1999 00:43:46 +0000
Subject: [PHP4BETA] CVS update: php4
Groups: php.version4 
Request: Send a blank email to php-version4+get-760@lists.php.net to get a copy of this message
Date: Monday May 10, 1999 @ 20:43 Author: zeev Update of /repository/php4 In directory php:/tmp/cvs-serv32276 Modified Files: main.c php_ini.c Log Message: beatify Apache's info func Index: php4/main.c diff -u php4/main.c:1.53 php4/main.c:1.54 --- php4/main.c:1.53 Mon May 10 20:01:41 1999 +++ php4/main.c Mon May 10 20:43:46 1999 @@ -29,7 +29,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.53 1999/05/11 00:01:41 zeev Exp $ */ +/* $Id: main.c,v 1.54 1999/05/11 00:43:46 zeev Exp $ */ #include <stdio.h> @@ -921,7 +921,6 @@ case 'g': case 'G': if (!_gpc_flags[2]) { - printf("Parsing GET data: '%s'\n", SG(request_info).query_string); php3_treat_data(PARSE_GET, NULL); /* GET Data */ _gpc_flags[2]=1; } Index: php4/php_ini.c diff -u php4/php_ini.c:1.15 php4/php_ini.c:1.16 --- php4/php_ini.c:1.15 Sun May 9 04:47:48 1999 +++ php4/php_ini.c Mon May 10 20:43:46 1999 @@ -36,9 +36,6 @@ #include "php_globals.h" #include "ext/standard/info.h" -#define ENTRY_NAME_COLOR "#999999" -#define CONTENTS_COLOR "#DDDDDD" - static HashTable known_directives; @@ -320,11 +317,11 @@ return 0; } - PUTS("<tr><td align=\"center\" bgcolor=\"" ENTRY_NAME_COLOR "\">"); + PUTS("<tr><td align=\"center\" bgcolor=\"" PHP_ENTRY_NAME_COLOR "\">"); PHPWRITE(ini_entry->name, ini_entry->name_length-1); - PUTS("<td align=\"center\" bgcolor=\"" CONTENTS_COLOR "\">"); + PUTS("<td align=\"center\" bgcolor=\"" PHP_CONTENTS_COLOR "\">"); php_ini_displayer_cb(ini_entry, PHP_INI_DISPLAY_ACTIVE); - PUTS("</td><td align=\"center\" bgcolor=\"" CONTENTS_COLOR "\">"); + PUTS("</td><td align=\"center\" bgcolor=\"" PHP_CONTENTS_COLOR "\">"); php_ini_displayer_cb(ini_entry, PHP_INI_DISPLAY_ORIG); PUTS("</td></tr>\n"); return 0; -- PHP 4 Beta

« previous php.version4 (#760) next »