vars.inc.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. error_reporting(E_ERROR | E_WARNING);
  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. // File locations should not be changed
  21. $MC_DKIM_TXTS = "/data/dkim/txt";
  22. $MC_DKIM_KEYS = "/data/dkim/keys";
  23. // Change default language, "en", "es" "pt", "de", "ru" or "nl"
  24. $DEFAULT_LANG = "en";
  25. // Change theme (default: lumen)
  26. // Needs to be one of those: cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper, readable, sandstone,
  27. // simplex, slate, spacelab, superhero, united, yeti
  28. // See https://bootswatch.com/
  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. ?>