Skip to content

Commit

Permalink
feat: define FLARUM_START constant (#4082)
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored Oct 21, 2024
1 parent 5787997 commit b9b52d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/core/src/Foundation/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public static function fromPaths(array $paths): SiteInterface
{
$paths = new Paths($paths);

define('FLARUM_START', microtime(true));

date_default_timezone_set('UTC');

if (! static::hasConfigFile($paths->base)) {
Expand Down

0 comments on commit b9b52d8

Please sign in to comment.