mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:56 +01:00
867636861e
- timezone data is imported from SQLite DB from Thunderbird Lighting 1.0pre - contains iCal VTIMEZONE component - also contains not yet used latitude and longitude for timezone - methods to convert between TZID string, nummeric tz_id and VTIMEZONE iCal component --> preparation to store timezone information for each events (using tz_id as foreing key into egw_cal_timezones table)
27 lines
704 B
PHP
27 lines
704 B
PHP
<?php
|
|
/**
|
|
* eGroupWare - Calendar setup
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @package calendar
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @version $Id$
|
|
*/
|
|
|
|
// enable auto-loading of holidays from localhost by default
|
|
foreach(array(
|
|
'auto_load_holidays' => 'True',
|
|
'holidays_url_path' => 'localhost',
|
|
) as $name => $value)
|
|
{
|
|
$oProc->insert($GLOBALS['egw_setup']->config_table,array(
|
|
'config_value' => $value,
|
|
),array(
|
|
'config_app' => 'phpgwapi',
|
|
'config_name' => $name,
|
|
),__FILE__,__LINE__);
|
|
}
|
|
|
|
// import timezone data from sqlite database
|
|
calendar_timezones::import_sqlite(); |