vars.inc.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. error_reporting(E_ERROR);
  3. //error_reporting(E_ALL);
  4. /*
  5. PLEASE USE THE FILE "vars.local.inc.php" TO OVERWRITE SETTINGS AND MAKE THEM PERSISTENT!
  6. This file will be reset on upgrades.
  7. */
  8. // SQL database connection variables
  9. $database_type = 'mysql';
  10. $database_host = 'mysql';
  11. $database_user = getenv('DBUSER');
  12. $database_pass = getenv('DBPASS');
  13. $database_name = getenv('DBNAME');
  14. // Other variables
  15. $mailcow_hostname = getenv('MAILCOW_HOSTNAME');
  16. // Where to go after adding and editing objects
  17. // Can be "form" or "previous"
  18. // "form" will stay in the current form, "previous" will redirect to previous page
  19. $FORM_ACTION = 'previous';
  20. // Change default language, "de", "en", "es", "nl", "pt", "ru"
  21. $DEFAULT_LANG = 'en';
  22. // Available languages
  23. $AVAILABLE_LANGUAGES = array('de', 'en', 'es', 'nl', 'pt', 'ru', 'it');
  24. // Change theme (default: lumen)
  25. // Needs to be one of those: cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper, readable, sandstone,
  26. // simplex, slate, spacelab, superhero, united, yeti
  27. // See https://bootswatch.com/
  28. // WARNING: Only lumen is loaded locally. Enabling any other theme, will download external sources.
  29. $DEFAULT_THEME = 'lumen';
  30. // Password complexity as regular expression
  31. $PASSWD_REGEP = '.{4,}';
  32. // mailcow Apps - buttons on login screen
  33. $MAILCOW_APPS = array(
  34. array(
  35. 'name' => 'SOGo',
  36. 'link' => '/SOGo/'
  37. ),
  38. // array(
  39. // 'name' => 'Roundcube',
  40. // 'link' => '/rc/'
  41. // ),
  42. );
  43. // Rows until pagination begins
  44. $PAGINATION_SIZE = 10;
  45. // Rows until pagination begins (log table)
  46. $LOG_PAGINATION_SIZE = 30;
  47. // Session lifetime in seconds
  48. $SESSION_LIFETIME = 3600;
  49. // Label for OTP devices
  50. $OTP_LABEL = "mailcow UI";