summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-01 21:24:14 +1100
committerPaul Merrill <napalminc@gmail.com>2010-12-01 04:14:17 -0800
commit529da36330cc9203aee31370235f1d9b9beb6cd4 (patch)
tree49cd66e0dbcd4d3f3388d1a7c7eff8652b1961d9 /inc/config.php
parent9923af244b1b5edff9ee23dc562e634f88f23161 (diff)
mod panel
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 9dea8ad7..2c1e9dc8 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -23,8 +23,13 @@
define('TIME_COOKIE', 'arrived', true);
// HASH_COOKIE contains an MD5 hash of TIME_COOKIE+SALT for verification.
define('HASH_COOKIE', 'hash', true);
+ // Used for moderation login
+ define('MOD_COOKIE', 'mod', true);
// Where to set the 'path' parameter to ROOT when creating cookies. Recommended.
define('JAIL_COOKIES', true, true);
+
+ // Whether or not to lock moderator sessions to the IP address that was logged in with.
+ define('MOD_LOCK_IP', true, true);
// How long should the cookies last (in seconds)
define('COOKIE_EXPIRE', 15778463, true); //6 months
@@ -60,7 +65,12 @@
define('ERR_FILESIZE', 'Maximum file size: %maxsz% bytes<br>Your file\'s size: %filesz% bytes', true);
define('ERR_MAXSIZE', 'The file was too big.', true);
define('ERR_INVALIDZIP','Invalid archive!', true);
-
+
+ // Moderator errors
+ define('ERROR_INVALID', 'Invalid username and/or password.', true);
+ define('ERROR_INVALIDAFTER', 'Invalid username and/or password. Your user may have been deleted or changed.');
+ define('ERROR_MALFORMED','Invalid/malformed cookies.', true);
+
// For resizing, max values
define('THUMB_WIDTH', 200, true);
define('THUMB_HEIGHT', 200, true);