From b9b52d85a77dffb1423211ad4a9ce8a6a662e749 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Mon, 21 Oct 2024 11:49:43 +0100 Subject: [PATCH] feat: define `FLARUM_START` constant (#4082) --- framework/core/src/Foundation/Site.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/core/src/Foundation/Site.php b/framework/core/src/Foundation/Site.php index 3eca6db0e..62308a01c 100644 --- a/framework/core/src/Foundation/Site.php +++ b/framework/core/src/Foundation/Site.php @@ -18,6 +18,8 @@ class Site { $paths = new Paths($paths); + define('FLARUM_START', microtime(true)); + date_default_timezone_set('UTC'); if (! static::hasConfigFile($paths->base)) {