diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-16 17:04:06 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-16 17:04:06 +0100 |
commit | 54e1edbf03cf0e9bc75f8f1b0b2a17444d562182 (patch) | |
tree | c9066c4cac23bf5ba057f179faf365e7114e8a37 | |
parent | 669ff45625e908043f1328e8f8a71fda9429cbd6 (diff) | |
parent | 21e3cd38ae89fa04be18e4edd96955f619dc2644 (diff) | |
download | nextcloud-server-54e1edbf03cf0e9bc75f8f1b0b2a17444d562182.tar.gz nextcloud-server-54e1edbf03cf0e9bc75f8f1b0b2a17444d562182.zip |
Merge pull request #13733 from mmattel/Try_to_write_logtimezone_during_installation
Write the parameter 'logtimezone' into config.php during setup
-rw-r--r-- | lib/private/setup.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php index 830a6176caf..044b57f6c8c 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -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); } |