cvs: php4 /sapi/cgi/ cgi_main.c
| From: | Andi Gutmans | Date: | Sat, 10 Jun 2000 09:05:22 +0000 |
| Subject: | cvs: php4 /sapi/cgi/ cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141@lists.php.net to get a copy of this message | ||
andi Sat Jun 10 02:05:22 2000 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
- This seems to be a bug. Anyone know who wrote this code? Should it stay
- in?
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.48 php4/sapi/cgi/cgi_main.c:1.49
--- php4/sapi/cgi/cgi_main.c:1.48 Mon Jun 5 16:21:58 2000
+++ php4/sapi/cgi/cgi_main.c Sat Jun 10 02:05:22 2000
@@ -278,8 +278,8 @@
/* 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