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

    r5269 r5316  
    9595                        $GLOBALS['phpgw_info']['flags']['noappfooter'] = True; 
    9696                        $GLOBALS['phpgw_info']['flags']['currentapp'] = 'calendar'; 
    97                         include_once( $_SESSION['rootPath'].'/header.inc.php' ); 
     97                        include_once( dirname(__FILE__).'/../../header.inc.php' ); 
    9898 
    9999                        $GLOBALS['phpgw']->nextmatchs = CreateObject('phpgwapi.nextmatchs'); 
     
    10281028                    ); 
    10291029 
    1030                    include_once($_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php'); 
     1030                   include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 
    10311031                   $exParticipants = new exParticipants(); 
    10321032                   $exParticipants->setParticipantsBySerializable($event['ex_participants']); 
     
    38993899                        $porig = $GLOBALS['phpgw']->template; 
    39003900 
    3901                         $GLOBALS['phpgw']->template->root = $_SESSION['rootPath'].'/calendar/templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/'; 
     3901                        $GLOBALS['phpgw']->template->root = dirname(__FILE__).'/../templates/'.$GLOBALS['phpgw_info']['server']['template_set'].'/'; 
    39023902 
    39033903                        $p = $GLOBALS['phpgw']->template; 
     
    45764576                        $p->set_block('view','hr','hr'); 
    45774577 
    4578                         include_once($_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php'); 
     4578                        include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 
    45794579                        $langp = array(); 
    45804580                        $langp['ACCEPTED'] = lang('Accepted'); 
     
    50545054                        } 
    50555055                         
    5056                         include_once($_SESSION['rootPath'].'/calendar/inc/class.ex_participants.inc.php'); 
     5056                        include_once(dirname(__FILE__).'/class.ex_participants.inc.php'); 
    50575057                        $langp = array(); 
    50585058                        $langp['ACCEPTED'] = lang('Accepted'); 
Note: See TracChangeset for help on using the changeset viewer.