Revision 2,
1.4 KB
checked in by niltonneto, 18 years ago
(diff) |
Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[2] | 1 | <?php |
---|
| 2 | /**************************************************************************\ |
---|
| 3 | * eGroupWare - Calendar * |
---|
| 4 | * http://www.egroupware.org * |
---|
| 5 | * Based on Webcalendar by Craig Knudsen <cknudsen@radix.net> * |
---|
| 6 | * http://www.radix.net/~cknudsen * |
---|
| 7 | * Modified by Mark Peters <skeeter@phpgroupware.org> * |
---|
| 8 | * -------------------------------------------- * |
---|
| 9 | * This program is free software; you can redistribute it and/or modify it * |
---|
| 10 | * under the terms of the GNU General Public License as published by the * |
---|
| 11 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
| 12 | * option) any later version. * |
---|
| 13 | \**************************************************************************/ |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | if(@$GLOBALS['phpgw_info']['server']['calendar_type'] == 'mcal' && |
---|
| 17 | extension_loaded('mcal') == False) |
---|
| 18 | { |
---|
| 19 | $GLOBALS['phpgw_info']['server']['calendar_type'] = 'sql'; |
---|
| 20 | } |
---|
| 21 | /* This will be elminated when ical is fully implemented */ |
---|
| 22 | else |
---|
| 23 | { |
---|
| 24 | $GLOBALS['phpgw_info']['server']['calendar_type'] = 'sql'; |
---|
| 25 | } |
---|
| 26 | include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar__.inc.php'); |
---|
| 27 | include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar_'.$GLOBALS['phpgw_info']['server']['calendar_type'].'.inc.php'); |
---|
| 28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.