diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-01 16:42:48 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-12-01 16:42:48 +1100 |
| commit | 5c7de28ca61b00495fbf26c449bb5d5ed38d8669 (patch) | |
| tree | 2c9cb16261b9c6b3ec4907395c1d7d002c2efa01 /inc/config.php | |
| parent | 5e63b4b8a0c6e982bdb01299c1ce175d521b2d35 (diff) | |
JAIL_COOKIES config directive.
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index 2cd3b71d..9dea8ad7 100644 --- a/inc/config.php +++ b/inc/config.php @@ -17,12 +17,14 @@ // The name of the session cookie (PHP's $_SESSION) define('SESS_COOKIE', 'imgboard', true); - + // Used to safely determine when the user was first seen, to prevent floods. // time() define('TIME_COOKIE', 'arrived', true); // HASH_COOKIE contains an MD5 hash of TIME_COOKIE+SALT for verification. define('HASH_COOKIE', 'hash', true); + // Where to set the 'path' parameter to ROOT when creating cookies. Recommended. + define('JAIL_COOKIES', true, true); // How long should the cookies last (in seconds) define('COOKIE_EXPIRE', 15778463, true); //6 months |
