vars.inc.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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, "en", "es" "pt", "de", "ru" or "nl"
  25. $DEFAULT_LANG = "en";
  26. // Change theme (default: lumen)
  27. // Needs to be one of those: cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper, readable, sandstone,
  28. // simplex, slate, spacelab, superhero, united, yeti
  29. // See https://bootswatch.com/
  30. $DEFAULT_THEME = "lumen";
  31. // Password complexity as regular expression
  32. $PASSWD_REGEP = '.{4,}';
  33. // mailcow Apps - buttons on login screen
  34. $MAILCOW_APPS = array(
  35. array(
  36. 'name' => 'SOGo',
  37. 'link' => '/SOGo/'
  38. ),
  39. // array(
  40. // 'name' => 'Roundcube',
  41. // 'link' => '/rc/'
  42. // ),
  43. );
  44. // Rows until pagination begins
  45. $PAGINATION_SIZE = 10;
  46. // Session lifetime in seconds
  47. $SESSION_LIFETIME = 3600;
  48. ?>