| | |
| | | |
| | | //** 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'); |
| | |
| | | //** Get the hostname |
| | | $tmp_out = array(); |
| | | exec('hostname -f', $tmp_out); |
| | | $conf['hostname'] = $inst->free_query('Full qualified hostname (FQDN) of the server, eg server1.domain.tld ', $tmp_out[0]); |
| | | $conf['hostname'] = $inst->free_query('Full qualified hostname (FQDN) of the server, eg server1.domain.tld ', @$tmp_out[0]); |
| | | unset($tmp_out); |
| | | |
| | | // Check if the mysql functions are loaded in PHP |