mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-14 20:14:11 +01:00
bdc3456ed6
- added cal_ prefix to phpgw_cal - hol_ prefix to phpgw_cal_holidays - renamed cal_login=>cal_user_id,cal_type=>cal_user_type in phpgw_cal_user
31 lines
1.5 KiB
PHP
Executable File
31 lines
1.5 KiB
PHP
Executable File
<?php
|
|
/**************************************************************************\
|
|
* eGroupWare - Calendar *
|
|
* http://www.egroupware.org *
|
|
* Maintained and further developed by RalfBecker@outdoor-training.de *
|
|
* Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> *
|
|
* http://www.radix.net/~cknudsen *
|
|
* Originaly modified by Mark Peters <skeeter@phpgroupware.org> *
|
|
* -------------------------------------------- *
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
* under the terms of the GNU General Public License as published by the *
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
* option) any later version. *
|
|
\**************************************************************************/
|
|
|
|
/* $Id$ */
|
|
|
|
if(@$GLOBALS['phpgw_info']['server']['calendar_type'] == 'mcal' &&
|
|
extension_loaded('mcal') == False)
|
|
{
|
|
$GLOBALS['phpgw_info']['server']['calendar_type'] = 'sql';
|
|
}
|
|
/* This will be elminated when ical is fully implemented */
|
|
else
|
|
{
|
|
$GLOBALS['phpgw_info']['server']['calendar_type'] = 'sql';
|
|
}
|
|
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar__.inc.php');
|
|
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar_'.$GLOBALS['phpgw_info']['server']['calendar_type'].'.inc.php');
|
|
?>
|