datetime --> egw_datetime

This commit is contained in:
Ralf Becker 2008-10-21 14:22:27 +00:00
parent 859e1206e4
commit 214afe0bd5
2 changed files with 14 additions and 14 deletions

View File

@ -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:

View File

@ -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);