From a5ab6b9638c76748f7b9b66ebbd4d8cacf682250 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 2 May 1999 19:54:02 +0000 Subject: Move path_info to the SAPI structure --- ext/hyperwave/hw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/hyperwave/hw.c') 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 !!!! */ -- cgit v1.2.1