forked from extern/egroupware
- setting required php version to 5.2
- removing tz_offset default pref and config - adding tz default pref (defaults to server timezone)
This commit is contained in:
parent
7813b84458
commit
a83a79e167
@ -147,7 +147,7 @@ else
|
||||
'template_set' => 'idots',
|
||||
'theme' => 'idots',
|
||||
'navbar_format' => 'icons',
|
||||
'tz_offset' => 0,
|
||||
'tz' => date_default_timezone_get(),
|
||||
'dateformat' => $lang == 'en' ? 'Y/m/d' : 'd.m.Y',
|
||||
'timeformat' => '24',
|
||||
'lang' => $lang,
|
||||
|
@ -67,7 +67,7 @@ class setup
|
||||
*
|
||||
* @var float
|
||||
*/
|
||||
var $required_php_version = 5.1;
|
||||
var $required_php_version = 5.2;
|
||||
/**
|
||||
* PHP Version recommended for eGroupware
|
||||
*
|
||||
|
@ -223,7 +223,7 @@ class setup_process
|
||||
$current_config['webserver_url'] = '/egroupware';
|
||||
$egroupwareDirName = 'egroupware';
|
||||
}
|
||||
if(!$is_windows)
|
||||
if(!$is_windows)
|
||||
{
|
||||
if(@is_dir('/tmp'))
|
||||
{
|
||||
@ -249,10 +249,6 @@ class setup_process
|
||||
$current_config['files_dir'] = 'c:\\Program files\\'.$egroupwareDirName.'\\'.$GLOBALS['egw_setup']->ConfigDomain.'\\files';
|
||||
$current_config['backup_dir'] = 'c:\\Program files\\'.$egroupwareDirName.'\\'.$GLOBALS['egw_setup']->ConfigDomain.'\\backup';
|
||||
}
|
||||
$datetime =& CreateObject('phpgwapi.egw_datetime');
|
||||
$current_config['tz_offset'] = $datetime->getbestguess();
|
||||
unset($datetime);
|
||||
|
||||
// RalfBecker: php.net recommend this for security reasons, it should be our default too
|
||||
$current_config['usecookies'] = 'True';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user