[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: setup config.php,1.76,1.77
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: setup config.php,1.76,1.77 |
Date: |
Tue, 13 Aug 2002 19:38:13 -0400 |
Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv31947
Modified Files:
config.php
Log Message:
Did I miss commiting this?
Index: config.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/config.php,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -r1.76 -r1.77
*** config.php 11 Aug 2002 23:54:57 -0000 1.76
--- config.php 13 Aug 2002 23:38:11 -0000 1.77
***************
*** 78,81 ****
--- 78,98 ----
if(@get_var('submit',Array('POST')) && @$newsettings)
{
+ $datetime = CreateObject('phpgwapi.datetime');
+ switch (intval($newsettings['daytime_port']))
+ {
+ case 13:
+ $newsettings['tz_offset'] =
$datetime->getntpoffset();
+ break;
+ case 80:
+ $newsettings['tz_offset'] =
$datetime->gethttpoffset();
+ break;
+ default:
+ $newsettings['tz_offset'] =
$datetime->getbestguess();
+ break;
+ }
+ unset($datetime);
+
+ print_debug('TZ_OFFSET',$newsettings['tz_offset']);
+
$GLOBALS['phpgw_setup']->db->transaction_begin();
/* This is only temp: */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: setup config.php,1.76,1.77,
Mark A Peters <address@hidden> <=