Kohana v3.3.2
This commit is contained in:
@@ -124,7 +124,6 @@ class Kohana_Cookie {
|
||||
*
|
||||
* @param string $name cookie name
|
||||
* @return boolean
|
||||
* @uses Cookie::set
|
||||
*/
|
||||
public static function delete($name)
|
||||
{
|
||||
@@ -149,7 +148,7 @@ class Kohana_Cookie {
|
||||
// Require a valid salt
|
||||
if ( ! Cookie::$salt)
|
||||
{
|
||||
throw new Kohana_Exception('A valid cookie salt is required. Please set Cookie::$salt.');
|
||||
throw new Kohana_Exception('A valid cookie salt is required. Please set Cookie::$salt in your bootstrap.php. For more information check the documentation');
|
||||
}
|
||||
|
||||
// Determine the user agent
|
||||
@@ -158,4 +157,4 @@ class Kohana_Cookie {
|
||||
return sha1($agent.$name.$value.Cookie::$salt);
|
||||
}
|
||||
|
||||
} // End cookie
|
||||
}
|
||||
|
Reference in New Issue
Block a user