Changeset 5243 for trunk/calendar


Ignore:
Timestamp:
12/12/11 15:35:26 (12 years ago)
Author:
gustavo
Message:

Ticket #2375 - Verificar problema ao alternar entre a interface web/mobile

File:
1 edited

Legend:

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

    r5132 r5243  
    1717        $_SESSION['rootPath'] = PHPGW_INCLUDE_ROOT; 
    1818        require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
     19}else if($_SESSION['rootPath']){ 
     20        require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
    1921}else{ 
    20         require_once $_SESSION['rootPath'].'/API/class.servicelocator.php'; 
     22        require_once PHPGW_INCLUDE_ROOT.'/API/class.servicelocator.php'; 
    2123} 
    2224 
Note: See TracChangeset for help on using the changeset viewer.