[PHP4BETA] CVS update: php4/ext/standard
| From: | zeev | Date: | Wed, 05 May 1999 21:05:44 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-660@lists.php.net to get a copy of this message | ||
Date: Wednesday May 5, 1999 @ 17:05
Author: zeev
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv5229/ext/standard
Modified Files:
head.c
Log Message:
Get CGI to work with the new headers code.
Now Apache is the only interface that doesn't use it.
Index: php4/ext/standard/head.c
diff -u php4/ext/standard/head.c:1.8 php4/ext/standard/head.c:1.9
--- php4/ext/standard/head.c:1.8 Wed May 5 14:25:20 1999
+++ php4/ext/standard/head.c Wed May 5 17:05:44 1999
@@ -26,7 +26,7 @@
| Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
+----------------------------------------------------------------------+
*/
-/* $Id: head.c,v 1.8 1999/05/05 18:25:20 andi Exp $ */
+/* $Id: head.c,v 1.9 1999/05/05 21:05:44 zeev Exp $ */
#include <stdio.h>
#include "php.h"
@@ -76,7 +76,7 @@
}
-#ifndef ZTS
+#ifdef APACHE
/* Adds header information */
void php4i_add_header_information(char *header_information, uint header_length)
{
@@ -227,7 +227,7 @@
-#ifndef ZTS
+#ifdef APACHE
/*
* php3_header() flushes the header info built up using calls to
* the Header() function. If type is 1, a redirect to str is done.
--
PHP 4 Beta