Skip to content
Snippets Groups Projects
Commit 21e3cd38 authored by Martin Mattel's avatar Martin Mattel
Browse files

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

parent 55142186
No related branches found
No related tags found
No related merge requests found
...@@ -236,6 +236,11 @@ class OC_Setup { ...@@ -236,6 +236,11 @@ class OC_Setup {
self::protectDataDirectory(); self::protectDataDirectory();
} }
//try to write logtimezone
if (date_default_timezone_get()) {
OC_Config::setValue('logtimezone', date_default_timezone_get());
}
//and we are done //and we are done
OC_Config::setValue('installed', true); OC_Config::setValue('installed', true);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment