Changeset 5316 for trunk/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 01/06/12 08:52:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r5269 r5316 95 95 $GLOBALS['phpgw_info']['flags']['noappfooter'] = True; 96 96 $GLOBALS['phpgw_info']['flags']['currentapp'] = 'calendar'; 97 include_once( $_SESSION['rootPath'].'/header.inc.php' );97 include_once( dirname(__FILE__).'/../../header.inc.php' ); 98 98 99 99 $GLOBALS['phpgw']->nextmatchs = CreateObject('phpgwapi.nextmatchs'); … … 1028 1028 ); 1029 1029 1030 include_once( $_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php');1030 include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 1031 1031 $exParticipants = new exParticipants(); 1032 1032 $exParticipants->setParticipantsBySerializable($event['ex_participants']); … … 3899 3899 $porig = $GLOBALS['phpgw']->template; 3900 3900 3901 $GLOBALS['phpgw']->template->root = $_SESSION['rootPath'].'/calendar/templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/';3901 $GLOBALS['phpgw']->template->root = dirname(__FILE__).'/../templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/'; 3902 3902 3903 3903 $p = $GLOBALS['phpgw']->template; … … 4576 4576 $p->set_block('view','hr','hr'); 4577 4577 4578 include_once( $_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php');4578 include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 4579 4579 $langp = array(); 4580 4580 $langp['ACCEPTED'] = lang('Accepted'); … … 5054 5054 } 5055 5055 5056 include_once( $_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php');5056 include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 5057 5057 $langp = array(); 5058 5058 $langp['ACCEPTED'] = lang('Accepted');
Note: See TracChangeset
for help on using the changeset viewer.