cvs: /php4/sapi/cgi cgi_main.c
| From: | Thies C. Arntzen | Date: | Mon, 21 Feb 2000 14:01:50 +0000 |
| Subject: | cvs: /php4/sapi/cgi cgi_main.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10582@lists.php.net to get a copy of this message | ||
thies Mon Feb 21 06:01:50 2000 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
compile-fix
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.30 php4/sapi/cgi/cgi_main.c:1.31
--- php4/sapi/cgi/cgi_main.c:1.30 Sat Feb 19 15:41:24 2000
+++ php4/sapi/cgi/cgi_main.c Mon Feb 21 06:01:19 2000
@@ -129,7 +129,7 @@
/* Build the special-case PHP_SELF variable for the CGI version */
#if FORCE_CGI_REDIRECT
- php_register_variable("PHP_SELF", (SG(request_info).request_uri ?
SG(request_info).request_uri, track_vars_array ELS_CC PLS_CC);
+ php_register_variable("PHP_SELF", (SG(request_info).request_uri ?
SG(request_info).request_uri:""), track_vars_array ELS_CC PLS_CC);
#else
{
char *sn;