= 4.2 ? 'private_no_expire' : 'private'); } /* debugging settings */ define('DEBUG_APP', False); define('DEBUG_API', False); define('DEBUG_DATATYPES', True); define('DEBUG_LEVEL', 3); define('DEBUG_OUTPUT', 2); /* 1 = screen, 2 = DB. For both use 3. */ define('DEBUG_TIMER', False); function perfgetmicrotime() { list($usec, $sec) = explode(' ',microtime()); return ((float)$usec + (float)$sec); } $GLOBALS['egw_info']['flags']['page_start_time'] = perfgetmicrotime(); /**************************************************************************\ * Do not edit these lines * \**************************************************************************/ define('EGW_API_INC',EGW_INCLUDE_ROOT.'/phpgwapi/inc'); define('PHPGW_API_INC',EGW_INCLUDE_ROOT.'/phpgwapi/inc'); include(EGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php'); $GLOBALS['egw_info']['server']['versions']['phpgwapi'] = $setup_info['phpgwapi']['version']; $GLOBALS['egw_info']['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header']; unset($setup_info); $GLOBALS['egw_info']['server']['versions']['header'] = '1.28'; /* This is a fix for NT */ if(!isset($GLOBALS['egw_info']['flags']['noapi']) || !$GLOBALS['egw_info']['flags']['noapi'] == True) { ob_start(); // to prevent error messages to be send before our headers include(EGW_API_INC . '/functions.inc.php'); include(EGW_API_INC . '/xml_functions.inc.php'); include(EGW_API_INC . '/soap_functions.inc.php'); } /* Leave off the final php closing tag, some editors will add a \n or space after which will mess up cookies later on */ $GLOBALS['egw_domain']['{DB_DOMAIN}'] = array( 'db_host' => '{DB_HOST}', 'db_port' => '{DB_PORT}', 'db_name' => '{DB_NAME}', 'db_user' => '{DB_USER}', 'db_pass' => '{DB_PASS}', // Look at the README file 'db_type' => '{DB_TYPE}', // This will limit who is allowed to make configuration modifications 'config_user' => '{CONFIG_USER}', 'config_passwd' => '{CONFIG_PASS}' );