From 2208271c779e497dbdddcfb6874348bb65950451 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Thu, 27 Aug 2015 11:48:45 +0200 Subject: [PATCH] Set default timezone --- flarum/bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flarum/bootstrap.php b/flarum/bootstrap.php index 698724c..3978c59 100644 --- a/flarum/bootstrap.php +++ b/flarum/bootstrap.php @@ -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' => [