config.php-dist 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. // *******************************************
  3. // *** Database configuration (important!) ***
  4. // *******************************************
  5. define('DB_TYPE', "pgsql"); //mysql is not supported
  6. define('DB_HOST', "localhost");
  7. define('DB_USER', "");
  8. define('DB_NAME', "");
  9. define('DB_PASS', "");
  10. define('DB_PORT', '5432'); // when neeeded, PG-only
  11. define('DB_TIMEZONE', 'UTC');
  12. // ***********************************
  13. // *** Basic settings (important!) ***
  14. // ***********************************
  15. define('SINGLE_USER_MODE', false);
  16. // Operate in single user mode, disables all functionality related to
  17. // multiple users.
  18. // **********************************
  19. // *** Cookies and login sessions ***
  20. // **********************************
  21. define('SESSION_CHECK_ADDRESS', false);
  22. // Bind session to client IP address (recommended)
  23. define('SESSION_COOKIE_LIFETIME', 2592000);
  24. // Default lifetime of a session cookie. In seconds,
  25. // 0 means delete on browser close
  26. define('SESSION_COOKIE_LIFETIME_REMEMBER', 2592000);
  27. // Session cookie lifetime if "remember me" is checked on login.
  28. define('SESSION_EXPIRE_TIME', 2592000);
  29. // Hard expiration limit for sessions. Should be
  30. // >= SESSION_COOKIE_LIFETIME_REMEMBER
  31. // ***************************************
  32. // *** Other settings (less important) ***
  33. // ***************************************
  34. define('ENABLE_TRANSLATIONS', false);
  35. // Enable interface translations
  36. define('UPDATE_DELAY_MAX', 15);
  37. // Maximum amount of seconds to delay in faux-PUSH updates.
  38. // Should be less than maximum script lifetime configured in your HTTPD
  39. // 0 disables the functionality.
  40. define('CONFIG_VERSION', 2);
  41. // Expected config version. Please update this option in config.php
  42. // if necessary (after migrating all new options from this file).
  43. // vim:ft=php
  44. ?>