Ignore:
Timestamp:
01/06/12 08:52:37 (12 years ago)
Author:
cristiano
Message:

Ticket #2423 - Trocar chamada da variável rootPath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.bocalendar.inc.php

    r5281 r5316  
    974974                        $l_participants = (@$params['participants']?$params['participants']:$_POST['participants']); 
    975975 
    976                         require_once($_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php'); 
     976                        require_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 
    977977                        $this->ex_participants = new exParticipants(); 
    978978                        $this->ex_participants->setParticipantsByString(@$params['ex_participants']?$params['ex_participants']:$_POST['ex_participants']); 
     
    32533253                function getLdap() 
    32543254                { 
    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'); 
    32573257    
    32583258                    $common = new common(); 
     
    37693769                        if(!is_object($this->ex_participants)) 
    37703770                        { 
    3771                             include_once($_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php'); 
     3771                            include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 
    37723772                            $objexP = new exParticipants(); 
    37733773                            $objexP->setParticipantsBySerializable($this->ex_participants); 
     
    38253825                                 * Cria Arqvuio ICS 
    38263826                                 */ 
    3827                                 require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
     3827                                require_once dirname(__FILE__).'/../../API/class.servicelocator.php'; 
    38283828                                $icalService = ServiceLocator::getService('ical'); 
    38293829 
     
    39913991                     } 
    39923992                      
    3993                     require_once $_SESSION['rootPath'] . '/API/class.servicelocator.php'; 
     3993                    require_once dirname(__FILE__) . '/../../API/class.servicelocator.php'; 
    39943994                    $icalService = ServiceLocator::getService('ical'); 
    39953995                    $dia_inicio = $array_data_inicio[0]; 
     
    41574157                        } 
    41584158                         //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'); 
    41604160                         $extOld = new exParticipants(); 
    41614161                         $extNew = new exParticipants(); 
Note: See TracChangeset for help on using the changeset viewer.