@ -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;