Bug 481313 - "Give aus2 users a unique cookie" (Fix cookie name) [p=oremj r=reed]
git-svn-id: svn://10.0.0.236/trunk@257589 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0f0dfe86ae
commit
1aedc330c3
@ -62,7 +62,7 @@ if (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
|
||||
|
||||
|
||||
//We need to give the user a unique cookie and make it expire in 5 years.
|
||||
if (!array_key_exists('aus', $_COOKIE)) {
|
||||
if (!array_key_exists(COOKIE_NAME, $_COOKIE)) {
|
||||
setcookie(COOKIE_NAME, $ip . '.' . microtime(true), time() + 157784630, '/', COOKIE_DOMAIN);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user