mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
feat: define FLARUM_START
constant (#4082)
This commit is contained in:
@@ -18,6 +18,8 @@ class Site
|
|||||||
{
|
{
|
||||||
$paths = new Paths($paths);
|
$paths = new Paths($paths);
|
||||||
|
|
||||||
|
define('FLARUM_START', microtime(true));
|
||||||
|
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
|
|
||||||
if (! static::hasConfigFile($paths->base)) {
|
if (! static::hasConfigFile($paths->base)) {
|
||||||
|
Reference in New Issue
Block a user