Ignore:
Timestamp:
10/04/13 17:45:37 (11 years ago)
Author:
angelo
Message:

Ticket #3491 - Compatibilizar Expresso com novas versoes do PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-evolucao/prototype/api/config.php

    r8221 r8230  
    6060                if ( isset( $_COOKIE[ 'sessionid' ] ) )  
    6161                { 
    62                                 session_id( $_COOKIE[ 'sessionid' ] );  
    63                                 $GLOBALS['phpgw']->session->sessionid = $_COOKIE[ 'sessionid' ]; 
     62                                session_id( $_COOKIE[ 'sessionid' ] ); 
     63                                if ( isset($GLOBALS['phpgw']) && !is_null($GLOBALS['phpgw']->session) ) 
     64                                        $GLOBALS['phpgw']->session->sessionid = $_COOKIE[ 'sessionid' ]; 
    6465                } 
    6566                 
Note: See TracChangeset for help on using the changeset viewer.