mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
TSRM fix
This commit is contained in:
parent
af77fdb9bf
commit
364c2fe5a2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user