diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2011-06-23 14:12:50 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2011-06-23 14:12:50 +0000 |
commit | 86c44e119fd71eeed6f3bc213d544a06cc4a13e5 (patch) | |
tree | 9eaeea60f2927a58236891988543a2a3964f7621 /sapi/apache2handler | |
parent | 73b6310098b2809d8ba7354607cd43391a803969 (diff) | |
download | php-git-86c44e119fd71eeed6f3bc213d544a06cc4a13e5.tar.gz |
Fixed a bug with calculation of REQUEST_TIME in apache2
Diffstat (limited to 'sapi/apache2handler')
-rw-r--r-- | sapi/apache2handler/sapi_apache2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 48eea2b6fb..a7f250d512 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -338,7 +338,7 @@ static void php_apache_sapi_log_message_ex(char *msg, request_rec *r TSRMLS_DC) 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; |