Commit 44cee2bf authored by tbrehm's avatar tbrehm

Implemented: FS#2125 - Installer: find out correct timezone

parent 06d1cedc
......@@ -104,7 +104,10 @@ $inst->find_installed_apps();
//** Select the language and set default timezone
$conf['language'] = $inst->simple_query('Select language', array('en','de'), 'en');
$conf['timezone'] = 'UTC';
exec('date +%Z', $tmp_out);
$conf['timezone'] = $tmp_out[0];
unset($tmp_out);
//** Select installation mode
$install_mode = $inst->simple_query('Installation mode', array('standard','expert'), 'standard');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment