mirror of https://github.com/flarum/flarum
Set default timezone
parent
56fb00378c
commit
2208271c77
|
@ -37,6 +37,8 @@ if (file_exists($configFile = __DIR__.'/../config.php')) {
|
|||
$app->instance('flarum.config', include $configFile);
|
||||
}
|
||||
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
$app->instance('config', $config = new ConfigRepository([
|
||||
'view' => [
|
||||
'paths' => [
|
||||
|
|
Loading…
Reference in New Issue