PHP 8.2.30
Preview: header.inc.php Size: 3.36 KB
/var/softaculous/egroup/header.inc.php

<?php
/**
 * EGroupware - configuration file
 *
 * Use EGroupware's setup to create or edit this configuration file.
 * You do NOT need to copy and edit this file manually!
 *
 * @link http://www.egroupware.org
 * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
 * @author RalfBecker@outdoor-training.de
 * (This file was originally written by Dan Kuykendall)
 * @version $Id$
 */

// eGW install dir, need to be changed if you copy the server to an other directory
define('EGW_SERVER_ROOT','[[softpath]]');

// other paths depending on the one above
define('EGW_INCLUDE_ROOT',EGW_SERVER_ROOT);
define('EGW_API_INC',EGW_INCLUDE_ROOT.'/phpgwapi/inc');

// who is allowed to make changes to THIS config file via eGW's setup
$GLOBALS['egw_info']['server']['header_admin_user'] = '[[admin_username]]';
$GLOBALS['egw_info']['server']['header_admin_password'] = '[[config_pass]]';

// restrict the access to setup to certain (comma separated) IPs or domains
$GLOBALS['egw_info']['server']['setup_acl'] = '';

/* eGroupWare domain-specific db settings */
$GLOBALS['egw_domain']['default'] = array(
	'db_host' => '[[softdbhost]]',
	'db_port' => '3306',
	'db_name' => '[[softdb]]',
	'db_user' => '[[softdbuser]]',
	'db_pass' => '[[softdbpass]]',
	// Look at the README file
	'db_type' => 'mysqli',
	// This will limit who is allowed to make configuration modifications
	'config_user'   => '[[cadmin_username]]',
	'config_passwd' => '[[cconfig_pass]]'
);


/*
** If you want to have your domains in a select box, change to True
** If not, users will have to login as user@domain
** Note: This is only for virtual domain support, default domain users (that's everyone
** form the first domain or if you have only one) can login only using just there loginid.
*/
$GLOBALS['egw_info']['server']['show_domain_selectbox'] = false;

$GLOBALS['egw_info']['server']['db_persistent'] = true;

/* This is used to control mcrypt's use */
$GLOBALS['egw_info']['server']['mcrypt_enabled'] = false;

/*
** This is a random string used as the initialization vector for mcrypt
** feel free to change it when setting up eGrouWare on a clean database,
** but you must not change it after that point!
** It should be around 30 bytes in length.
*/
$GLOBALS['egw_info']['server']['mcrypt_iv'] = '[[mcrypt]]';

$GLOBALS['egw_info']['flags']['page_start_time'] = microtime(true);

include(EGW_SERVER_ROOT.'/api/setup/setup.inc.php');
$GLOBALS['egw_info']['server']['versions'] = $setup_info['api']['versions'];
$GLOBALS['egw_info']['server']['versions']['phpgwapi'] = $GLOBALS['egw_info']['server']['versions']['api'] = $setup_info['api']['version'];
unset($setup_info);
$GLOBALS['egw_info']['server']['versions']['header'] = '1.29';

if(!isset($GLOBALS['egw_info']['flags']['noapi']) || !$GLOBALS['egw_info']['flags']['noapi'])
{
	if (substr($_SERVER['SCRIPT_NAME'],-7) != 'dav.php' &&	// dont do it for webdav/groupdav, as we can not safely switch it off again
		(!isset($_GET['menuaction']) || substr($_GET['menuaction'],-10) != '_hooks.log') &&
		substr($_SERVER['SCRIPT_NAME'],-10) != '/share.php')
	{
		ob_start();	// to prevent error messages to be send before our headers
	}
	require_once(EGW_SERVER_ROOT.'/api/src/loader.php');
}
else
{
	require_once(EGW_SERVER_ROOT.'/api/src/loader/common.php');
}

/*
  Leave off the final php closing tag, some editors will add
  a \n or space after which will mess up cookies later on
*/

Directory Contents

Dirs: 6 × Files: 19

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2026-03-18 21:03:47
Edit Download
php53 DIR
- drwxr-xr-x 2026-03-18 21:03:47
Edit Download
php56 DIR
- drwxr-xr-x 2026-03-18 21:03:47
Edit Download
php71 DIR
- drwxr-xr-x 2026-03-18 21:03:47
Edit Download
php81 DIR
- drwxr-xr-x 2026-03-18 21:03:47
Edit Download
php82 DIR
- drwxr-xr-x 2026-03-18 21:03:47
Edit Download
1.07 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
6.16 KB lrw-r--r-- 2026-03-18 11:45:48
Edit Download
320 B lrw-r--r-- 2026-03-18 11:20:00
Edit Download
4.21 KB lrw-r--r-- 2026-03-18 11:45:48
Edit Download
433 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
272.78 KB lrw-r--r-- 2026-03-18 11:20:00
Edit Download
165.65 MB lrw-r--r-- 2026-03-18 11:20:00
Edit Download
853 B lrw-r--r-- 2026-02-18 10:09:14
Edit Download
3.36 KB lrw-r--r-- 2025-04-17 11:40:36
Edit Download
3.77 KB lrw-r--r-- 2026-03-18 11:45:48
Edit Download
3.09 KB lrw-r--r-- 2026-03-18 11:20:00
Edit Download
1.25 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
5.96 KB lrw-r--r-- 2026-03-18 11:45:48
Edit Download
2.69 KB lrw-r--r-- 2023-05-05 08:38:42
Edit Download
3.38 KB lrw-r--r-- 2026-03-18 11:45:48
Edit Download
1.63 KB lrw-r--r-- 2026-02-18 10:09:14
Edit Download
6.49 KB lrw-r--r-- 2026-03-18 11:45:48
Edit Download
292 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
14.05 MB lrw-r--r-- 2026-03-18 11:20:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).