Browse Source

custom config.php

Nils 1 year ago
1 changed files with 57 additions and 0 deletions
  1. +57

+ 57
- 0
config.php View File

@@ -0,0 +1,57 @@
<?php //site configuration defaults
/* ====================================================================================================================== */
/* NoNonsense Forum v26 © Copyright (CC-BY) Kroc Camen 2010-2015
licenced under Creative Commons Attribution 3.0 <>
you may do whatever you want to this code as long as you give credit to Kroc Camen, <>

/* --- copy this file to 'config.php' and customise to your liking,
DON’T DELETE OR MODIFY 'config.default.php'! --- */

//uncomment this if you want to show PHP errors in the browser
#error_reporting (-1);

//path, relative to this file, where the private data should be stored. e.g. "../users" to go above webroot.
//note that this is a server path, so use "/" on UNIX servers and "\" on Windows ones. don't provide an end slash.
//if you wish to run without HTAccess, you will need to change this to point to a private location
@define ('FORUM_USERS', 'users');

//forum’s title. used in theme, and in RSS feeds
//WARNING: changing this won’t update the index RSS feed containing this name; post/delete a thread to regenerate the
// 'index.xml' file so as to see the change
@define ('FORUM_NAME', 'Bugs and Issues - LSS');

//timezone to use for all datetimes
//this must be a string from this list: <>, e.g. "Europe/London"
@define ('FORUM_TIMEZONE', 'UTC');

//if the forum should use--and force--HTTPS connections and URLs:
//if set to true, RSS feeds will be saved with HTTPS URLs, and HTTP connections will automatically be redirected to HTTPS.
//"HSTS" <> will be used to tell clients to use HTTPS by default
//NOTE: If you change this setting, old RSS feeds will still contain HTTP URLs, but this won’t pose a problem as the HSTS
// header will tell browsers to automatically redirect these to HTTPS
@define ('FORUM_HTTPS', true);

//folder name of the theme to use, in "/themes/*"
@define ('FORUM_THEME', 'lssbugs');

//if posting is allowed. change to false and nobody will be able to post new threads or reply
@define ('FORUM_ENABLED', true);
//if new users are allowed to register. set to false and only existing registered users will be allowed to post
@define ('FORUM_NEWBIES', true);

//number of threads and posts to show per page
//WARNING: changing these will inadvertadely invalidate post permalinks, decide on these numbers in the beginning
@define ('FORUM_THREADS', 50);
@define ('FORUM_POSTS', 50);

//maximum allowed size (number of characters) of input fields
@define ('SIZE_NAME', 20); //user name
@define ('SIZE_PASS', 20); //password
@define ('SIZE_TITLE', 100); //post title
@define ('SIZE_TEXT', 50000); //post message