Set default timezone

pull/9/head
Franz Liedke 9 years ago
parent 56fb00378c
commit 2208271c77

@ -37,6 +37,8 @@ if (file_exists($configFile = __DIR__.'/../config.php')) {
$app->instance('flarum.config', include $configFile); $app->instance('flarum.config', include $configFile);
} }
date_default_timezone_set('UTC');
$app->instance('config', $config = new ConfigRepository([ $app->instance('config', $config = new ConfigRepository([
'view' => [ 'view' => [
'paths' => [ 'paths' => [

Loading…
Cancel
Save