Skip to content

Commit

Permalink
feat: define FLARUM_START constant
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 20, 2024
1 parent a333332 commit d29975b
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 d29975b

Please sign in to comment.