config.php-dist 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. define('FETCH_URL_TITLES', false);
  32. define('MEMCACHE_SERVER', 'localhost:11211');
  33. // Memcached server for URL title caching
  34. // ***************************************
  35. // *** Other settings (less important) ***
  36. // ***************************************
  37. define('ENABLE_TRANSLATIONS', false);
  38. // Enable interface translations
  39. define('UPDATE_DELAY_MAX', 15);
  40. // Maximum amount of seconds to delay in faux-PUSH updates.
  41. // Should be less than maximum script lifetime configured in your HTTPD
  42. // 0 disables the functionality.
  43. define('CONFIG_VERSION', 2);
  44. // Expected config version. Please update this option in config.php
  45. // if necessary (after migrating all new options from this file).
  46. // vim:ft=php
  47. ?>