mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Write the parameter 'logtimezone' into config.php during setup
This commit is contained in:
parent
55142186de
commit
21e3cd38ae
1 changed files with 5 additions and 0 deletions
|
|
@ -236,6 +236,11 @@ class OC_Setup {
|
|||
self::protectDataDirectory();
|
||||
}
|
||||
|
||||
//try to write logtimezone
|
||||
if (date_default_timezone_get()) {
|
||||
OC_Config::setValue('logtimezone', date_default_timezone_get());
|
||||
}
|
||||
|
||||
//and we are done
|
||||
OC_Config::setValue('installed', true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue