forked from extern/egroupware
datetime --> egw_datetime
This commit is contained in:
parent
859e1206e4
commit
214afe0bd5
@ -48,7 +48,7 @@ if(@get_var('submit',Array('POST')) && @$newsettings)
|
||||
/* Load hook file with functions to validate each config (one/none/all) */
|
||||
$GLOBALS['egw_setup']->hook('config_validate','setup');
|
||||
|
||||
$datetime = CreateObject('phpgwapi.datetime');
|
||||
$datetime = CreateObject('phpgwapi.egw_datetime');
|
||||
switch((int)$newsettings['daytime_port'])
|
||||
{
|
||||
case 13:
|
||||
|
@ -224,7 +224,7 @@
|
||||
$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.datetime');
|
||||
$datetime =& CreateObject('phpgwapi.egw_datetime');
|
||||
$current_config['tz_offset'] = $datetime->getbestguess();
|
||||
unset($datetime);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user