This commit is contained in:
Marcus Boerger 2004-08-11 20:51:41 +00:00
parent af77fdb9bf
commit 364c2fe5a2

View File

@ -278,8 +278,10 @@ static void php_apache_sapi_log_message_ex(char *msg, request_rec *r)
}
static time_t php_apache_sapi_get_request_time(void) {
php_struct *ctx = SG(server_context);
php_struct *ctx;
TSRMLS_FETCH();
ctx = SG(server_context);
return ctx->r->request_time;
}