[PHP4BETA] CVS update: php4/ext/standard

From: Date: Fri, 23 Apr 1999 22:45:01 +0000
Subject: [PHP4BETA] CVS update: php4/ext/standard
Groups: php.version4 
Request: Send a blank email to php-version4+get-421@lists.php.net to get a copy of this message
Date: Friday April 23, 1999 @ 18:45 Author: zeev Update of /repository/php4/ext/standard In directory php:/tmp/cvs-serv31345/ext/standard Modified Files: head.c Log Message: Remove redundant code Index: php4/ext/standard/head.c diff -u php4/ext/standard/head.c:1.3 php4/ext/standard/head.c:1.4 --- php4/ext/standard/head.c:1.3 Fri Apr 23 16:20:30 1999 +++ php4/ext/standard/head.c Fri Apr 23 18:45:01 1999 @@ -26,7 +26,7 @@ | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ -/* $Id: head.c,v 1.3 1999/04/23 20:20:30 zeev Exp $ */ +/* $Id: head.c,v 1.4 1999/04/23 22:45:01 zeev Exp $ */ #include <stdio.h> #include "php.h" @@ -250,9 +250,6 @@ return 1; } if ((GLOBAL(php3_PrintHeader) && !GLOBAL(php3_HeaderPrinted)) || (GLOBAL(php3_PrintHeader) && GLOBAL(php3_HeaderPrinted) == 2)) { - if (!(GLOBAL(initialized) & INIT_ENVIRONMENT) && GLOBAL(request_info).request_method && !strcasecmp(GLOBAL(request_info).request_method, "post")) { - php3_treat_data(PARSE_POST, NULL); /* POST Data */ - } cookie = php3_PopCookieList(); while (cookie) { if (cookie->name) @@ -330,9 +327,6 @@ } #else if (GLOBAL(php3_PrintHeader) && !GLOBAL(php3_HeaderPrinted)) { - if (!(GLOBAL(initialized) & INIT_ENVIRONMENT) && GLOBAL(request_info).request_method && !strcasecmp(GLOBAL(request_info).request_method, "post")) { - php3_treat_data(PARSE_POST, NULL); /* POST Data */ - } if (!GLOBAL(cont_type)) { #if USE_SAPI GLOBAL(sapi_rqst)->header(GLOBAL(sapi_rqst)->scid,"Content-type: text/html\015\012\015\012"); -- PHP 4 Beta

« previous php.version4 (#421) next »