mailcow/data/web/inc/vars.inc.php

38 lines
1.1 KiB
PHP
Raw Normal View History

2016-12-09 20:39:02 +01:00
<?php
2016-12-14 16:54:36 +01:00
error_reporting(0);
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
$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-18 12:51:06 +01:00
date_default_timezone_set(getenv('TZ'));
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
$FORM_ACTION = "previous";
// File locations should not be changed
2016-12-15 10:03:58 +01:00
$MC_DKIM_TXTS = "/data/dkim/txt";
$MC_DKIM_KEYS = "/data/dkim/keys";
2016-12-09 20:39:02 +01:00
// Change default language, "en", "pt", "de" or "nl"
$DEFAULT_LANG = "en";
// 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/
$DEFAULT_THEME = "lumen";
?>