summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-03-06 13:25:25 +0000
committerDerick Rethans <derick@php.net>2002-03-06 13:25:25 +0000
commit393cbe0ac380e9d83f80d21df316d02ee1a99c15 (patch)
treea66607677d361dc0effc31cba3c619614e0be1cb
parentb5660126d0b134b053187512dbe52895be33170f (diff)
downloadphp-git-393cbe0ac380e9d83f80d21df316d02ee1a99c15.tar.gz
- Put them back (and do it right)
-rw-r--r--sapi/cgi/cgi_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index f97bd1221e..f649421bbb 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -390,6 +390,12 @@ int main(int argc, char *argv[])
char *script_file=NULL;
zend_llist global_vars;
int interactive=0;
+
+#if FORCE_CGI_REDIRECT
+ int force_redirect = 1;
+ char *redirect_status_env = NULL;
+#endif
+
/* end of temporary locals */
#ifdef ZTS
zend_compiler_globals *compiler_globals;