clarify cookie comment.
This commit is contained in:
parent
c9bb800ee9
commit
97cb0035f4
|
@ -66,7 +66,7 @@ protected static function set($cookie)
|
|||
setcookie($name, $value, $time, $path, $domain, $secure);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the value of a cookie.
|
||||
|
@ -92,7 +92,7 @@ public static function get($name, $default = null)
|
|||
if ( ! is_null($value) and isset($value[40]) and $value[40] == '~')
|
||||
{
|
||||
// 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.
|
||||
list($hash, $value) = explode('~', $value, 2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue