Changeset 2855 for trunk/header.inc.php.template
- Timestamp:
- 05/25/10 17:00:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/header.inc.php.template
r2326 r2855 118 118 $GLOBALS['phpgw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header']; 119 119 unset($setup_info); 120 $GLOBALS['phpgw_info']['server']['versions']['header'] = '2. 0';120 $GLOBALS['phpgw_info']['server']['versions']['header'] = '2.2'; 121 121 /* This is a fix for NT */ 122 122 if(!isset($GLOBALS['phpgw_info']['flags']['noapi']) || !$GLOBALS['phpgw_info']['flags']['noapi'] == True) … … 126 126 $connection_id = $GLOBALS['phpgw']->session->sessionid; 127 127 if (!strlen($connection_id) != 32){ 128 if (!isset($_SESSION['connection_db_info']))129 {130 $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__);131 $GLOBALS['phpgw']->db->next_record( );132 $_SESSION['connection_db_info']['user_auth'] = $GLOBALS['phpgw']->db->row( );133 }134 128 include("header.session.inc.php"); 135 129 }
Note: See TracChangeset
for help on using the changeset viewer.