diff options
author | Thies C. Arntzen <thies@php.net> | 2000-02-21 14:01:19 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-02-21 14:01:19 +0000 |
commit | b7e53b12f6ac8d6c6554f882799914c799d95461 (patch) | |
tree | dc8d856d4b1504ada25ad7178116d79e280541fc /sapi/cgi | |
parent | 361ae6886e6cda3fc786b36bcb6bc149267340a0 (diff) | |
download | php-git-b7e53b12f6ac8d6c6554f882799914c799d95461.tar.gz |
compile-fix
Diffstat (limited to 'sapi/cgi')
-rw-r--r-- | sapi/cgi/cgi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 87be584b6c..459b5cbf66 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -129,7 +129,7 @@ static void sapi_cgi_register_variables(zval *track_vars_array ELS_DC SLS_DC PLS /* 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; |