Ignore:
Timestamp:
08/03/09 16:42:43 (15 years ago)
Author:
niltonneto
Message:

Ticket #596 - Atualização de segurança e correção do template_set.

File:
1 edited

Legend:

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

    r1042 r1254  
    9494 
    9595        /* Select which login template set you want, most people will use default */ 
    96         $GLOBALS['phpgw_info']['login_template_set'] = 'celepar'; 
     96        $GLOBALS['phpgw_info']['login_template_set'] = 'default'; 
    9797 
    9898        /* This is used to control mcrypt's use */ 
     
    155155                include(PHPGW_API_INC . '/soap_functions.inc.php'); 
    156156        } 
     157        $connection_id = $GLOBALS['phpgw']->session->sessionid; 
     158        if (!strlen($connection_id) != 32){ 
     159                if (!isset($_SESSION['connection_db_info'])) 
     160                { 
     161                $GLOBALS['phpgw']->db->query("select sessionid, ip, browser from phpgw_access_log where account_id <> 0 and lo = 0 and sessionid='{$GLOBALS['phpgw']->session->sessionid}' limit 1",__LINE__,__FILE__); 
     162                $GLOBALS['phpgw']->db->next_record( ); 
     163                $_SESSION['connection_db_info']['user_auth'] = $GLOBALS['phpgw']->db->row( ); 
     164                } 
     165                include("header.session.inc.php"); 
     166        } 
    157167 
    158168        /* 
Note: See TracChangeset for help on using the changeset viewer.