Write the parameter 'logtimezone' into config.php during setup

This commit is contained in:
Martin 2015-01-28 13:45:13 +01:00
parent 55142186de
commit 21e3cd38ae

View file

@ -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);
}