vars.inc.php 1.6 KB

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