Ignore:
Timestamp:
03/05/10 18:02:16 (14 years ago)
Author:
alexandrecorreia
Message:

Ticket #911 - Correcao para unificacao do ajax dentro dos modulos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/client.php

    r2153 r2177  
    66        ***************************************************/ 
    77         
    8         require_once("../header.session.inc.php"); 
     8        if( file_exists("../header.session.inc.php")) 
     9                require_once("../header.session.inc.php"); 
     10        else if(file_exists("../../header.session.inc.php")) 
     11                require_once("../../header.session.inc.php"); 
     12         
     13        $currentApp = ($_SESSION['phpgw_info']['expresso']['currentapp']) ? $_SESSION['phpgw_info']['expresso']['currentapp'] : "jabberit_messenger"; 
    914 
    1015        $GLOBALS['phpgw_info']['flags'] = array( 
    11                                                         'currentapp' => $_SESSION['phpgw_info']['expresso']['currentapp'], 
     16                                                        'currentapp' => $currentApp, 
    1217                                                        'nonavbar'   => true, 
    1318                                                        'noheader'   => true 
Note: See TracChangeset for help on using the changeset viewer.