config.php-dist 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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_COOKIE_LIFETIME', 2592000);
  22. // Default lifetime of a session cookie. In seconds,
  23. // 0 means delete on browser close
  24. define('SESSION_COOKIE_LIFETIME_REMEMBER', 2592000);
  25. // Session cookie lifetime if "remember me" is checked on login.
  26. define('SESSION_EXPIRE_TIME', 2592000);
  27. // Hard expiration limit for sessions. Should be
  28. // >= SESSION_COOKIE_LIFETIME_REMEMBER
  29. define('FETCH_URL_TITLES', false);
  30. define('MEMCACHE_SERVER', 'localhost:11211');
  31. // Memcached server for URL title caching
  32. // ***************************************
  33. // *** Other settings (less important) ***
  34. // ***************************************
  35. define('ENABLE_TRANSLATIONS', false);
  36. // Enable interface translations
  37. define('UPDATE_DELAY_MAX', 15);
  38. // Maximum amount of seconds to delay in faux-PUSH updates.
  39. // Should be less than maximum script lifetime configured in your HTTPD
  40. // 0 disables the functionality.
  41. define('CONFIG_VERSION', 2);
  42. // Expected config version. Please update this option in config.php
  43. // if necessary (after migrating all new options from this file).
  44. // vim:ft=php
  45. ?>