vars.inc.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. $DEFAULT_THEME = 'lumen';
  29. // Password complexity as regular expression
  30. $PASSWD_REGEP = '.{4,}';
  31. // mailcow Apps - buttons on login screen
  32. $MAILCOW_APPS = array(
  33. array(
  34. 'name' => 'SOGo',
  35. 'link' => '/SOGo/'
  36. ),
  37. // array(
  38. // 'name' => 'Roundcube',
  39. // 'link' => '/rc/'
  40. // ),
  41. );
  42. // Rows until pagination begins
  43. $PAGINATION_SIZE = 10;
  44. // Session lifetime in seconds
  45. $SESSION_LIFETIME = 3600;
  46. // Label for OTP devices
  47. $OTP_LABEL = "mailcow UI";