1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00

Make Apache 2 define SG(request_info).path_translated like Apache 1 did.

This commit is contained in:
Stanislav Malyshev
2003-04-10 11:33:45 +00:00
parent 2849872f19
commit 6f08d5e759
+1
View File
@@ -412,6 +412,7 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC)
SG(request_info).query_string = apr_pstrdup(r->pool, r->args);
SG(request_info).request_method = r->method;
SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri);
SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename);
r->no_local_copy = 1;
content_type = sapi_get_default_content_type(TSRMLS_C);