mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)
This commit is contained in:
parent
e3b9b1e6dc
commit
2019062cfc
@ -311,7 +311,7 @@ php_apache_disable_caching(ap_filter_t *f)
|
||||
static double php_apache_sapi_get_request_time(TSRMLS_D)
|
||||
{
|
||||
php_struct *ctx = SG(server_context);
|
||||
return apr_time_as_msec(ctx->r->request_time);
|
||||
return ((double) apr_time_as_msec(ctx->r->request_time)) / 1000.0;
|
||||
}
|
||||
|
||||
extern zend_module_entry php_apache_module;
|
||||
|
Loading…
Reference in New Issue
Block a user