diff options
author | Andi Gutmans <andi@php.net> | 2000-06-10 09:05:22 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-10 09:05:22 +0000 |
commit | 77f4e1c8c7ac247d41e66508ef3a06ea75b47ed5 (patch) | |
tree | c48e965e68e80e9a311e0107f5f593b45bf7f602 /sapi/cgi | |
parent | 2b0a8049db112cae003596667afa7191394d6154 (diff) | |
download | php-git-77f4e1c8c7ac247d41e66508ef3a06ea75b47ed5.tar.gz |
- This seems to be a bug. Anyone know who wrote this code? Should it stay
- in?
Diffstat (limited to 'sapi/cgi')
-rw-r--r-- | sapi/cgi/cgi_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 72d9008f13..d3bb8ed1d1 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -278,8 +278,8 @@ static void init_request_info(SLS_D) /* a hack for apache nt because it does not appear to set argv[1] and sets script filename to php.exe thus makes us parse php.exe instead of file.php requires we get the info from path translated. This can be removed at - such a time taht apache nt is fixed */ - if (script_filename) { + such a time that apache nt is fixed */ + if (!script_filename) { script_filename = getenv("PATH_TRANSLATED"); } #endif |