diff options
author | Zeev Suraski <zeev@php.net> | 1999-06-26 23:21:18 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-06-26 23:21:18 +0000 |
commit | d1169e735e72694090e8158ef0c1d9732015f9af (patch) | |
tree | a45c594e75634be4598dc2d25cfdc8afaf6fbc3d /cgi_main.c | |
parent | d4f24f19ad60ce0abd50dd48f3eb3cea8d97015c (diff) | |
download | php-git-d1169e735e72694090e8158ef0c1d9732015f9af.tar.gz |
Win32/general patches
Diffstat (limited to 'cgi_main.c')
-rw-r--r-- | cgi_main.c | 3 |
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; |