summaryrefslogtreecommitdiff
path: root/ext/standard/head.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-05 21:05:44 +0000
committerZeev Suraski <zeev@php.net>1999-05-05 21:05:44 +0000
commitaee864e9d8e9f7eed671f8ccfe1f9ed68202161e (patch)
tree22e53f5dc323061f21fcccec28fed038e647919d /ext/standard/head.c
parent2740382c2c5758e72850e8357046b94b9ac3e5e4 (diff)
downloadphp-git-aee864e9d8e9f7eed671f8ccfe1f9ed68202161e.tar.gz
Get CGI to work with the new headers code.
Now Apache is the only interface that doesn't use it.
Diffstat (limited to 'ext/standard/head.c')
-rw-r--r--ext/standard/head.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c
index d2cd7eeb07..8e757a3e07 100644
--- a/ext/standard/head.c
+++ b/ext/standard/head.c
@@ -76,7 +76,7 @@ PHPAPI void php3_noheader(void)
}
-#ifndef ZTS
+#ifdef APACHE
/* Adds header information */
void php4i_add_header_information(char *header_information, uint header_length)
{
@@ -227,7 +227,7 @@ void php3_Header(INTERNAL_FUNCTION_PARAMETERS)
-#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.