summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2016-11-21 15:18:55 +0100
committerKalle Sommer Nielsen <kalle@php.net>2016-11-21 15:18:55 +0100
commit8efbcf18a169fe07dd21ab2c9a4c16fe3e18e4e3 (patch)
tree80fbd296d8b5d78f4ed3792b814cbaa8371e8e7c
parente59089c6e544d1d2c7a6d9bf29398f50000797c9 (diff)
downloadphp-git-8efbcf18a169fe07dd21ab2c9a4c16fe3e18e4e3.tar.gz
Remove this old obsolete code
-rw-r--r--sapi/cgi/cgi_main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 7ded894f17..a7eb312fd6 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -1774,16 +1774,6 @@ int main(int argc, char *argv[])
char *decoded_query_string;
int skip_getopt = 0;
-#if 0 && defined(PHP_DEBUG)
- /* IIS is always making things more difficult. This allows
- * us to stop PHP and attach a debugger before much gets started */
- {
- char szMessage [256];
- wsprintf (szMessage, "Please attach a debugger to the process 0x%X [%d] (%s) and click OK", GetCurrentProcessId(), GetCurrentProcessId(), argv[0]);
- MessageBox(NULL, szMessage, "CGI Debug Time!", MB_OK|MB_SERVICE_NOTIFICATION);
- }
-#endif
-
#ifdef HAVE_SIGNAL_H
#if defined(SIGPIPE) && defined(SIG_IGN)
signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so