Merge pull request #13733 from mmattel/Try_to_write_logtimezone_during_installation

Write the parameter 'logtimezone' into config.php during setup
This commit is contained in:
Thomas Müller 2015-03-16 17:04:06 +01:00
commit 54e1edbf03
1 changed files with 5 additions and 0 deletions

View File

@ -328,6 +328,11 @@ class Setup {
self::protectDataDirectory();
}
//try to write logtimezone
if (date_default_timezone_get()) {
OC_Config::setValue('logtimezone', date_default_timezone_get());
}
//and we are done
$config->setSystemValue('installed', true);
}