Set default timezone

pull/9/head
Franz Liedke 2015-08-27 11:48:45 +02:00
parent 56fb00378c
commit 2208271c77
1 changed files with 2 additions and 0 deletions

View File

@ -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' => [