summaryrefslogtreecommitdiff
path: root/request_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'request_info.c')
-rw-r--r--request_info.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/request_info.c b/request_info.c
index 884b184c31..5ed42393b5 100644
--- a/request_info.c
+++ b/request_info.c
@@ -92,23 +92,13 @@ int php3_destroy_request_info(void *conf)
#if APACHE
int php3_init_request_info(void *conf)
{
- const char *buf;
request_rec *r;
SLS_FETCH();
r = ((request_rec *) SG(server_context));
- SG(request_info).query_string = r->args;
- SG(request_info).path_translated = r->filename;
- SG(request_info).request_uri = r->uri;
request_info.current_user = NULL;
request_info.current_user_length = 0;
-
request_info.filename = r->filename;
- SG(request_info).request_method = r->method;
- SG(request_info).content_type = table_get(r->subprocess_env, "CONTENT_TYPE");
-
- buf = table_get(r->subprocess_env, "CONTENT_LENGTH");
- SG(request_info).content_length = (buf ? atoi(buf) : 0);
return SUCCESS;
}