Ignore:
Timestamp:
05/25/10 17:00:15 (14 years ago)
Author:
niltonneto
Message:

Ticket #1041 - Corrigido problema na validação da sessão por IP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-expressolivre/debian/arqs-conf/header.inc.php

    r2842 r2855  
    123123        $GLOBALS['phpgw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header']; 
    124124        unset($setup_info); 
    125         $GLOBALS['phpgw_info']['server']['versions']['header'] = '2.0'; 
     125        $GLOBALS['phpgw_info']['server']['versions']['header'] = '2.2'; 
    126126        /* This is a fix for NT */ 
    127127        if(!isset($GLOBALS['phpgw_info']['flags']['noapi']) || !$GLOBALS['phpgw_info']['flags']['noapi'] == True) 
     
    131131        $connection_id = $GLOBALS['phpgw']->session->sessionid; 
    132132        if (!strlen($connection_id) != 32){ 
    133                 if (!isset($_SESSION['connection_db_info'])) 
    134                 { 
    135                 $GLOBALS['phpgw']->db->query("select trim(sessionid), ip, browser from phpgw_access_log where account_id <> 0 and lo = 0 and sessionid='{$GLOBALS['phpgw']->session->sessionid}' limit 1",__LINE__,__FILE__); 
    136                 $GLOBALS['phpgw']->db->next_record( ); 
    137                 $_SESSION['connection_db_info']['user_auth'] = $GLOBALS['phpgw']->db->row( ); 
    138                 } 
    139133                include("header.session.inc.php"); 
    140134        } 
Note: See TracChangeset for help on using the changeset viewer.