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:
commit
54e1edbf03
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue