summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-01 21:24:14 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-01 21:28:35 +1100
commit84027c6d83d4a836ea362026df778b7507a9429e (patch)
tree0009fd7acd880ff94567fefa86df6ebb3ad2b80d /inc/config.php
parent8a387bff1e51733f3d25d2269d16b6e8584d0b6e (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);