summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-03-04 20:12:14 +0000
committerDerick Rethans <derick@php.net>2002-03-04 20:12:14 +0000
commit7a3cb1e135cfe8db07364e3dc9235263f4100592 (patch)
treecefad652f1a24a4daf6423e39dafd6041e170430
parentc65fff2a5f4eda10bfbc75ed2271755fa9677f98 (diff)
downloadphp-git-7a3cb1e135cfe8db07364e3dc9235263f4100592.tar.gz
- MFH for: turn on force redirect for windows
-rw-r--r--main/config.w32.h2
-rw-r--r--main/php.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/main/config.w32.h b/main/config.w32.h
index 990c40a793..87a255ee2a 100644
--- a/main/config.w32.h
+++ b/main/config.w32.h
@@ -37,7 +37,7 @@
#define TRANS_SID 1
/* set to enable force cgi redirect */
-#define FORCE_CGI_REDIRECT 0
+#define FORCE_CGI_REDIRECT 1
/* should be added to runtime config*/
#define PHP_URL_FOPEN 1
diff --git a/main/php.h b/main/php.h
index 25bfb6c7c9..17bafb4750 100644
--- a/main/php.h
+++ b/main/php.h
@@ -41,6 +41,10 @@
#define sprintf php_sprintf
#endif
+/* PHP's DEBUG value must match Zend's ZEND_DEBUG value */
+#undef PHP_DEBUG
+#define PHP_DEBUG ZEND_DEBUG
+
#ifdef PHP_WIN32
#include "tsrm_win32.h"
#include "win95nt.h"
@@ -58,10 +62,6 @@
#include "php_regex.h"
-/* PHP's DEBUG value must match Zend's ZEND_DEBUG value */
-#undef PHP_DEBUG
-#define PHP_DEBUG ZEND_DEBUG
-
#define APACHE 0
#define CGI_BINARY 0