summaryrefslogtreecommitdiff
path: root/cgi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi_main.c')
-rw-r--r--cgi_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cgi_main.c b/cgi_main.c
index 63e97346de..8434ae7209 100644
--- a/cgi_main.c
+++ b/cgi_main.c
@@ -205,8 +205,6 @@ int main(int argc, char *argv[])
sapi_startup(&sapi_module);
- SG(request_info).path_translated = NULL;
-
#if WIN32|WINNT
_fmode = _O_BINARY; /*sets default for file streams to binary */
setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
@@ -262,6 +260,7 @@ any .htaccess restrictions anywhere on your site you can leave doc_root undefine
}
#endif
+ SG(request_info).path_translated = NULL;
init_request_info(SLS_C);
SG(server_context) = (void *) 1; /* avoid server_context==NULL checks */
CG(extended_info) = 0;