1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-12 10:45:14 +02:00
mailcow-dockerized/data/web/inc/vars.inc.php

63 lines
1.7 KiB
PHP
Raw Normal View History

2016-12-09 21:39:02 +02:00
<?php
2017-05-13 23:07:48 +02:00
error_reporting(E_ERROR);
//error_reporting(E_ALL);
2016-12-09 21:39:02 +02: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 22:10:11 +02:00
$database_user = getenv('DBUSER');
$database_pass = getenv('DBPASS');
$database_name = getenv('DBNAME');
2016-12-21 13:16:05 +02:00
// Other variables
$mailcow_hostname = getenv('MAILCOW_HOSTNAME');
2016-12-09 21:39:02 +02: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';
2016-12-09 21:39:02 +02:00
// Change default language, "de", "en", "es", "nl", "pt", "ru"
$DEFAULT_LANG = 'en';
2016-12-09 21:39:02 +02:00
// Available languages
2017-05-19 12:34:29 +02:00
$AVAILABLE_LANGUAGES = array('de', 'en', 'es', 'nl', 'pt', 'ru', 'it');
2016-12-09 21:39:02 +02: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-29 21:51:06 +02:00
// WARNING: Only lumen is loaded locally. Enabling any other theme, will download external sources.
$DEFAULT_THEME = 'lumen';
2017-02-21 23:27:11 +02:00
// Password complexity as regular expression
$PASSWD_REGEP = '.{4,}';
// mailcow Apps - buttons on login screen
$MAILCOW_APPS = array(
array(
'name' => 'SOGo',
'link' => '/SOGo/'
),
// array(
// 'name' => 'Roundcube',
// 'link' => '/rc/'
// ),
);
// Rows until pagination begins
$PAGINATION_SIZE = 10;
2017-05-29 21:51:06 +02:00
// Rows until pagination begins (log table)
$LOG_PAGINATION_SIZE = 30;
// Session lifetime in seconds
$SESSION_LIFETIME = 3600;
2017-05-26 23:02:04 +02:00
// Label for OTP devices
$OTP_LABEL = "mailcow UI";