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/expressoMail1_2/inc/class.ldap_functions.inc.php

    r5245 r5316  
    11<?php 
    22 
    3 require_once(($_SESSION['rootPath'] ? $_SESSION['rootPath'] : PHPGW_INCLUDE_ROOT).'/API/class.servicelocator.php'); 
     3require_once(dirname(__FILE__).'/../../API/class.servicelocator.php'); 
    44include_once("class.imap_functions.inc.php"); 
    55include_once("class.functions.inc.php"); 
     
    277277                $modal = true; 
    278278              
    279             include_once $_SESSION['rootPath']. '/header.inc.php'; 
     279            include_once dirname(__FILE__). '/../../header.inc.php'; 
    280280             
    281281            if($modal) 
     
    387387        function quickSearchGlobal($params, $all=false)  
    388388        {               
    389             include_once $_SESSION['rootPath']. '/header.inc.php'; 
     389            include_once dirname(__FILE__). '/../../header.inc.php'; 
    390390            $c = CreateObject('phpgwapi.config','contactcenter'); 
    391391            $all_data = $c->read_repository(); 
Note: See TracChangeset for help on using the changeset viewer.