Changeset 2091 for trunk/expressoMail1_2
- Timestamp:
- 03/01/10 09:30:04 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.db_functions.inc.php
r2012 r2091 1 1 <?php 2 define('PHPGW_INCLUDE_ROOT','./'); 3 define('PHPGW_API_INC','./phpgwapi/inc'); 4 include_once(PHPGW_API_INC.'/class.db.inc.php'); 2 if(!isset($_SESSION['phpgw_info']['expressomail']['server']['db_name'])) { 3 include_once('./header.inc.php'); 4 $_SESSION['phpgw_info']['expressomail']['server']['db_name'] = $GLOBALS['phpgw_info']['server']['db_name']; 5 $_SESSION['phpgw_info']['expressomail']['server']['db_host'] = $GLOBALS['phpgw_info']['server']['db_host']; 6 $_SESSION['phpgw_info']['expressomail']['server']['db_port'] = $GLOBALS['phpgw_info']['server']['db_port']; 7 $_SESSION['phpgw_info']['expressomail']['server']['db_user'] = $GLOBALS['phpgw_info']['server']['db_user']; 8 $_SESSION['phpgw_info']['expressomail']['server']['db_pass'] = $GLOBALS['phpgw_info']['server']['db_pass']; 9 $_SESSION['phpgw_info']['expressomail']['server']['db_type'] = $GLOBALS['phpgw_info']['server']['db_type']; 10 } 11 else{ 12 define('PHPGW_INCLUDE_ROOT','./'); 13 define('PHPGW_API_INC','./phpgwapi/inc'); 14 include_once(PHPGW_API_INC.'/class.db.inc.php'); 15 } 5 16 include_once('class.dynamic_contacts.inc.php'); 6 17
Note: See TracChangeset
for help on using the changeset viewer.