2016-12-09 20:39:02 +01:00
|
|
|
<?php
|
2017-05-13 23:07:48 +02:00
|
|
|
error_reporting(E_ERROR);
|
|
|
|
//error_reporting(E_ALL);
|
2017-05-11 23:10:32 +02:00
|
|
|
header('X-Powered-By: mailcow');
|
2016-12-09 20:39:02 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
PLEASE USE THE FILE "vars.local.inc.php" TO OVERWRITE SETTINGS AND MAKE THEM PERSISTENT!
|
|
|
|
This file will be reset on upgrades.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// SQL database connection variables
|
2017-05-16 19:20:58 +02:00
|
|
|
$database_type = 'mysql';
|
|
|
|
$database_host = 'mysql';
|
2016-12-14 21:10:11 +01:00
|
|
|
$database_user = getenv('DBUSER');
|
|
|
|
$database_pass = getenv('DBPASS');
|
|
|
|
$database_name = getenv('DBNAME');
|
2016-12-21 12:16:05 +01:00
|
|
|
|
|
|
|
// Other variables
|
|
|
|
$mailcow_hostname = getenv('MAILCOW_HOSTNAME');
|
2016-12-09 20:39:02 +01:00
|
|
|
|
|
|
|
// Where to go after adding and editing objects
|
|
|
|
// Can be "form" or "previous"
|
|
|
|
// "form" will stay in the current form, "previous" will redirect to previous page
|
2017-05-16 19:20:58 +02:00
|
|
|
$FORM_ACTION = 'previous';
|
2016-12-09 20:39:02 +01:00
|
|
|
|
|
|
|
// File locations should not be changed
|
2017-05-16 19:20:58 +02:00
|
|
|
$MC_DKIM_TXTS = '/data/dkim/txt';
|
|
|
|
$MC_DKIM_KEYS = '/data/dkim/keys';
|
2016-12-09 20:39:02 +01:00
|
|
|
|
2017-05-16 18:11:58 +02:00
|
|
|
// Change default language, "de", "en", "es", "nl", "pt", "ru"
|
2017-05-16 19:20:58 +02:00
|
|
|
$DEFAULT_LANG = 'en';
|
2016-12-09 20:39:02 +01:00
|
|
|
|
2017-05-16 18:11:58 +02:00
|
|
|
// Available languages
|
2017-05-19 12:34:29 +02:00
|
|
|
$AVAILABLE_LANGUAGES = array('de', 'en', 'es', 'nl', 'pt', 'ru', 'it');
|
2017-05-16 18:11:58 +02:00
|
|
|
|
2016-12-09 20:39:02 +01:00
|
|
|
// Change theme (default: lumen)
|
|
|
|
// Needs to be one of those: cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper, readable, sandstone,
|
|
|
|
// simplex, slate, spacelab, superhero, united, yeti
|
|
|
|
// See https://bootswatch.com/
|
2017-05-16 19:20:58 +02:00
|
|
|
$DEFAULT_THEME = 'lumen';
|
2017-01-25 19:07:30 +01:00
|
|
|
|
2017-02-21 22:27:11 +01:00
|
|
|
// Password complexity as regular expression
|
|
|
|
$PASSWD_REGEP = '.{4,}';
|
2017-03-21 12:22:13 +01:00
|
|
|
|
|
|
|
// mailcow Apps - buttons on login screen
|
|
|
|
$MAILCOW_APPS = array(
|
|
|
|
array(
|
|
|
|
'name' => 'SOGo',
|
|
|
|
'link' => '/SOGo/'
|
|
|
|
),
|
|
|
|
// array(
|
|
|
|
// 'name' => 'Roundcube',
|
|
|
|
// 'link' => '/rc/'
|
|
|
|
// ),
|
|
|
|
);
|
|
|
|
|
2017-03-22 10:46:24 +01:00
|
|
|
// Rows until pagination begins
|
|
|
|
$PAGINATION_SIZE = 10;
|
|
|
|
|
2017-05-07 13:38:31 +02:00
|
|
|
// Session lifetime in seconds
|
|
|
|
$SESSION_LIFETIME = 3600;
|