summaryrefslogtreecommitdiff
path: root/ext/hyperwave/hw.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-02 19:54:02 +0000
committerZeev Suraski <zeev@php.net>1999-05-02 19:54:02 +0000
commita5ab6b9638c76748f7b9b66ebbd4d8cacf682250 (patch)
tree68c045f85fd7ea5fd8c20d2d460180392352be31 /ext/hyperwave/hw.c
parent7071131f81c53b5ff062f724a0aa758a5138e012 (diff)
downloadphp-git-a5ab6b9638c76748f7b9b66ebbd4d8cacf682250.tar.gz
Move path_info to the SAPI structure
Diffstat (limited to 'ext/hyperwave/hw.c')
-rw-r--r--ext/hyperwave/hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index 8a813dde86..f2380dde05 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -1532,7 +1532,7 @@ void php3_hw_getcgi(INTERNAL_FUNCTION_PARAMETERS) {
#else
sprintf(cgi_env_str, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s",
request_info.request_method,
- request_info.path_info,
+ SG(request_info).request_uri,
SG(request_info).query_string);
#endif
/* !!!! memory for object and attributes is allocated with malloc !!!! */
@@ -1784,7 +1784,7 @@ void php3_hw_pipecgi(INTERNAL_FUNCTION_PARAMETERS) {
#else
sprintf(cgi_env_str, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s",
request_info.request_method,
- request_info.path_info,
+ SG(request_info).request_uri,
SG(request_info).query_string);
#endif
/* !!!! memory for object, bodytag and attributes is allocated with malloc !!!! */