clarify cookie comment.
This commit is contained in:
@@ -66,7 +66,7 @@ class Cookie {
|
|||||||
setcookie($name, $value, $time, $path, $domain, $secure);
|
setcookie($name, $value, $time, $path, $domain, $secure);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the value of a cookie.
|
* Get the value of a cookie.
|
||||||
@@ -92,7 +92,7 @@ class Cookie {
|
|||||||
if ( ! is_null($value) and isset($value[40]) and $value[40] == '~')
|
if ( ! is_null($value) and isset($value[40]) and $value[40] == '~')
|
||||||
{
|
{
|
||||||
// The hash signature and the cookie value are separated by a tilde
|
// The hash signature and the cookie value are separated by a tilde
|
||||||
// character for convenience. To separate the hash and the contents
|
// character for convenience. To separate the hash and the payload
|
||||||
// we can simply expode on that character.
|
// we can simply expode on that character.
|
||||||
list($hash, $value) = explode('~', $value, 2);
|
list($hash, $value) = explode('~', $value, 2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user