Changeset 5316 for trunk/calendar/inc/class.bocalendar.inc.php
- Timestamp:
- 01/06/12 08:52:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r5281 r5316 974 974 $l_participants = (@$params['participants']?$params['participants']:$_POST['participants']); 975 975 976 require_once( $_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php');976 require_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 977 977 $this->ex_participants = new exParticipants(); 978 978 $this->ex_participants->setParticipantsByString(@$params['ex_participants']?$params['ex_participants']:$_POST['ex_participants']); … … 3253 3253 function getLdap() 3254 3254 { 3255 require_once( $_SESSION['rootPath'].'/header.inc.php');3256 require_once( $_SESSION['rootPath'].'/phpgwapi/inc/class.common.inc.php');3255 require_once(dirname(__FILE__).'/../../header.inc.php'); 3256 require_once(dirname(__FILE__).'/../../phpgwapi/inc/class.common.inc.php'); 3257 3257 3258 3258 $common = new common(); … … 3769 3769 if(!is_object($this->ex_participants)) 3770 3770 { 3771 include_once( $_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php');3771 include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 3772 3772 $objexP = new exParticipants(); 3773 3773 $objexP->setParticipantsBySerializable($this->ex_participants); … … 3825 3825 * Cria Arqvuio ICS 3826 3826 */ 3827 require_once $_SESSION['rootPath'].'/API/class.servicelocator.php';3827 require_once dirname(__FILE__).'/../../API/class.servicelocator.php'; 3828 3828 $icalService = ServiceLocator::getService('ical'); 3829 3829 … … 3991 3991 } 3992 3992 3993 require_once $_SESSION['rootPath'] . '/API/class.servicelocator.php';3993 require_once dirname(__FILE__) . '/../../API/class.servicelocator.php'; 3994 3994 $icalService = ServiceLocator::getService('ical'); 3995 3995 $dia_inicio = $array_data_inicio[0]; … … 4157 4157 } 4158 4158 //Verificando alterações em usuarios externos 4159 include_once( $_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php');4159 include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 4160 4160 $extOld = new exParticipants(); 4161 4161 $extNew = new exParticipants();
Note: See TracChangeset
for help on using the changeset viewer.