mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 11:59:16 +01:00
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) */
|
/* Load hook file with functions to validate each config (one/none/all) */
|
||||||
$GLOBALS['egw_setup']->hook('config_validate','setup');
|
$GLOBALS['egw_setup']->hook('config_validate','setup');
|
||||||
|
|
||||||
$datetime = CreateObject('phpgwapi.datetime');
|
$datetime = CreateObject('phpgwapi.egw_datetime');
|
||||||
switch((int)$newsettings['daytime_port'])
|
switch((int)$newsettings['daytime_port'])
|
||||||
{
|
{
|
||||||
case 13:
|
case 13:
|
||||||
|
@ -224,7 +224,7 @@
|
|||||||
$current_config['files_dir'] = 'c:\\Program files\\'.$egroupwareDirName.'\\'.$GLOBALS['egw_setup']->ConfigDomain.'\\files';
|
$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';
|
$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();
|
$current_config['tz_offset'] = $datetime->getbestguess();
|
||||||
unset($datetime);
|
unset($datetime);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user