summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-24 20:30:37 +0000
committerZeev Suraski <zeev@php.net>2001-07-24 20:30:37 +0000
commit536a53356d29ec8023e340702c48fc19dda49027 (patch)
treec4a5d1c6d5585fed75220904fcea8531dae6d89d /sapi/apache/mod_php4.c
parent612b3666a94338fe1ca4f0022202eaf0b8c01dee (diff)
downloadphp-git-536a53356d29ec8023e340702c48fc19dda49027.tar.gz
Get rid of the redundant global startup code
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index a58df34143..fc9782016e 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -312,6 +312,7 @@ static void php_apache_request_shutdown(void *dummy)
SLS_FETCH();
APLS_FETCH();
+ php_output_set_status(0);
SG(server_context) = NULL; /* The server context (request) is invalid by the time run_cleanups() is called */
if (AP(in_request)) {
AP(in_request) = 0;