A fork of the NoNonsenseForum, we use as bugtracker http://camendesign.com/nononsense_forum https://github.com/Kroc/NoNonsenseForum
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.9KB

  1. <?php //site configuration defaults
  2. /* ====================================================================================================================== */
  3. /* NoNonsense Forum v26 © Copyright (CC-BY) Kroc Camen 2010-2015
  4. licenced under Creative Commons Attribution 3.0 <creativecommons.org/licenses/by/3.0/deed.en_GB>
  5. you may do whatever you want to this code as long as you give credit to Kroc Camen, <camendesign.com>
  6. */
  7. /* --- copy this file to 'config.php' and customise to your liking,
  8. DON’T DELETE OR MODIFY 'config.default.php'! --- */
  9. //uncomment this if you want to show PHP errors in the browser
  10. #error_reporting (-1);
  11. //path, relative to this file, where the private data should be stored. e.g. "../users" to go above webroot.
  12. //note that this is a server path, so use "/" on UNIX servers and "\" on Windows ones. don't provide an end slash.
  13. //if you wish to run without HTAccess, you will need to change this to point to a private location
  14. @define ('FORUM_USERS', 'users');
  15. //forum’s title. used in theme, and in RSS feeds
  16. //WARNING: changing this won’t update the index RSS feed containing this name; post/delete a thread to regenerate the
  17. // 'index.xml' file so as to see the change
  18. @define ('FORUM_NAME', 'Bugs and Issues - LSS');
  19. //timezone to use for all datetimes
  20. //this must be a string from this list: <php.net/manual/en/timezones.php>, e.g. "Europe/London"
  21. @define ('FORUM_TIMEZONE', 'UTC');
  22. //if the forum should use--and force--HTTPS connections and URLs:
  23. //if set to true, RSS feeds will be saved with HTTPS URLs, and HTTP connections will automatically be redirected to HTTPS.
  24. //"HSTS" <en.wikipedia.org/wiki/HTTP_Strict_Transport_Security> will be used to tell clients to use HTTPS by default
  25. //NOTE: If you change this setting, old RSS feeds will still contain HTTP URLs, but this won’t pose a problem as the HSTS
  26. // header will tell browsers to automatically redirect these to HTTPS
  27. @define ('FORUM_HTTPS', true);
  28. //folder name of the theme to use, in "/themes/*"
  29. @define ('FORUM_THEME', 'lssbugs');
  30. //if posting is allowed. change to false and nobody will be able to post new threads or reply
  31. @define ('FORUM_ENABLED', true);
  32. //if new users are allowed to register. set to false and only existing registered users will be allowed to post
  33. @define ('FORUM_NEWBIES', true);
  34. //number of threads and posts to show per page
  35. //WARNING: changing these will inadvertadely invalidate post permalinks, decide on these numbers in the beginning
  36. @define ('FORUM_THREADS', 50);
  37. @define ('FORUM_POSTS', 50);
  38. //maximum allowed size (number of characters) of input fields
  39. @define ('SIZE_NAME', 20); //user name
  40. @define ('SIZE_PASS', 20); //password
  41. @define ('SIZE_TITLE', 100); //post title
  42. @define ('SIZE_TEXT', 50000); //post message
  43. ?>