Changeset 3018 for branches/2.2/doc-expressolivre/debian/arqs-conf
- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/doc-expressolivre/debian/arqs-conf/header.inc.php
r1358 r3018 18 18 * the absolute path to fit your site, and you should be up and running. * 19 19 \**************************************************************************/ 20 20 ob_start(); 21 21 define('PHPGW_SERVER_ROOT','/var/www/expresso'); 22 22 define('PHPGW_INCLUDE_ROOT','/var/www/expresso'); … … 127 127 { 128 128 include(PHPGW_API_INC . '/functions.inc.php'); 129 include(PHPGW_API_INC . '/xml_functions.inc.php');130 include(PHPGW_API_INC . '/soap_functions.inc.php');131 129 } 132 130 $connection_id = $GLOBALS['phpgw']->session->sessionid; 133 131 if (!strlen($connection_id) != 32){ 134 if (!isset($_SESSION['connection_db_info']))135 {136 $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__);137 $GLOBALS['phpgw']->db->next_record( );138 $_SESSION['connection_db_info']['user_auth'] = $GLOBALS['phpgw']->db->row( );139 }140 132 include("header.session.inc.php"); 141 133 }
Note: See TracChangeset
for help on using the changeset viewer.