summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>1999-10-15 20:27:38 +0000
committerAndrei Zmievski <andrei@php.net>1999-10-15 20:27:38 +0000
commitb625bbd14a05487063446a55a9c7b8cd4cac567c (patch)
tree93727e6df65b57ff86ae03c837e419ff0ee21a5f
parent22fb5f281abbe14a54efaab2e71d1e45b21c302f (diff)
downloadphp-git-b625bbd14a05487063446a55a9c7b8cd4cac567c.tar.gz
(php3_log_err): Don't output error message to stderr when
running as CGI binary.
-rw-r--r--main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index c2c5a49647..13efae6296 100644
--- a/main/main.c
+++ b/main/main.c
@@ -333,12 +333,14 @@ void php3_log_err(char *log_message)
}
#endif /*APACHE */
+#if 0
#if CGI_BINARY
if (php3_header()) {
fprintf(stderr, log_message);
fprintf(stderr, "\n");
}
#endif
+#endif
}