mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 13:35:47 +08:00
feat: define FLARUM_START
constant (#4082)
This commit is contained in:
parent
57879974ca
commit
b9b52d85a7
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user