Name | Default Value | Description |
Basic Config |
ADMIN_USER | admin | The username which will be used to login to the admin interface |
ADMIN_PASS | default | The password which will be used to login to the admin interface. THIS MUST BE CHANGED |
MYTH_TITLE | Myth2 | This value will be placed in the <title> tag and appear in the browser title bar |
MYTH_CSS | default.css | Set this if you wish to use a diffrent stylesheet |
MYTH_SHOWCOUNT | 1 | Controls whether the number of nodes in a tree is show in the tree list. Set to 0 to turn off |
MYTH_SHOWIP | 0 | If this is set to 1, when logged in as admin the ip of the poster will appear next to their name in the node |
MYTH_USESTATS | 0 | When set to 1, Myth2 will log stats of visitors and referer headers from the sites they come from |
MYTH_SHOWLOGIN | 1 | If you want a little bit of additional security, you can set this to 0 to hide the login link on the main page. This may prevent people from being tempted to try random passwords. when disabled it will be accessable through http://url/myth2.php?w=login |
The following are new in v2.1 |
MYTH_ANON | anonymous | Defines the default anonymous name |
MYTH_ALLOWRATING | 0 | Enables rating system of individual nodes |
MYTH_ALLOWLIST | 1 | Allows people to click a link in a node and be show a page with every node traversed so far |
MYTH_LISTMODE | 3 | Sets the mode of the list, either 1, 2 or 3 |
MYTH_PUBLICLATEST | 0 | When enabled it will allow non-admins to view all the latest entries in a tree, admin can always view this. |
MYTH_DEFLIMIT | 20 | How many nodes to show in one page on the latest nodes list |
MYTH_USEFILTER | 1 | Enables or Disables the filter |
Advanced Config |
USE_GZIP | 0 | Enable this by setting to 1 and pages will be gzip compressed before being sent to the browser, this can speed up the time spent browsing the site and save bandwidth (altho it does take a little more cpu to compress the page). Not all servers support this and not all browsers support it, if your server supports it there is no harm in enabling it. |
MYTH_MD5PASS | 0 | If you wish some extra security and are worried about people being able to view the php source, you can set this to 1 and use an MD5 encrypted password in the ADMIN_PASS field instead of a plaintext one. |
MYTH_NOCOOKIES | 0 | By default, Myth2 uses a cookie to save the name of the author of a story, this saves them re-entering it each time they post. Setting this to 1 will disable the cookies, however cookies are always used for admin login if the autologin box is checked |
MYTH_EMBEDDED | 0 | Set this to 1 if you are going to be using Myth2 via an include() from an existing website, this stops the usual <html>,<head>,etc tags from being sent. If using within an existing site, be sure that no variables conflict |