1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 23:17:43 +02:00

feat: define FLARUM_START constant (#4082)

This commit is contained in:
Sami Mazouz
2024-10-21 11:49:43 +01:00
committed by GitHub
parent 57879974ca
commit b9b52d85a7

View File

@@ -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)) {