diff --git a/system/src/Grav/Common/Processors/RequestProcessor.php b/system/src/Grav/Common/Processors/RequestProcessor.php index 2f2165450..f59b78aa3 100644 --- a/system/src/Grav/Common/Processors/RequestProcessor.php +++ b/system/src/Grav/Common/Processors/RequestProcessor.php @@ -25,6 +25,7 @@ class RequestProcessor extends ProcessorBase $this->startTimer(); $request = $request ->withAttribute('grav', $this->container) + ->withAttribute('time', $_SERVER['REQUEST_TIME_FLOAT'] ?? GRAV_REQUEST_TIME) ->withAttribute('route', Uri::getCurrentRoute()) ->withAttribute('referrer', $this->container['uri']->referrer());