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.socalendar_sql.inc.php

    r5281 r5316  
    1313  *  option) any later version.                                              * 
    1414  \**************************************************************************/ 
    15 if($_SESSION['isCrun']){ 
     15require_once dirname(__FILE__).'/../../API/class.servicelocator.php'; 
     16 
     17if(isset($_SESSION['isCrun'])) 
    1618        $_SESSION['isCrun'] = false; 
    17         $_SESSION['rootPath'] = PHPGW_INCLUDE_ROOT; 
    18         require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
    19 }else if($_SESSION['rootPath']){ 
    20         require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
    21 }else{ 
    22         require_once PHPGW_INCLUDE_ROOT.'/API/class.servicelocator.php'; 
    23 } 
    24  
     19     
    2520        if (@$GLOBALS['phpgw_info']['flags']['included_classes']['socalendar_']) 
    2621        { 
Note: See TracChangeset for help on using the changeset viewer.