From 6810b99d382179182cd656ca0bd9ebabaf492dd6 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 1 Nov 2011 20:04:00 -0500 Subject: [PATCH] change cookie forget time to be 25 hours in the past to cover strange timezone issues. --- laravel/autoloader.php | 4 ++-- laravel/cookie.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/laravel/autoloader.php b/laravel/autoloader.php index 1ee5abec..3ca4b75c 100644 --- a/laravel/autoloader.php +++ b/laravel/autoloader.php @@ -19,8 +19,8 @@ class Autoloader { /** * Load the file corresponding to a given class. * - * Laravel loads classes out of three directorys: the core "laravel" directory, - * and the application "models" and "libraires" directories. All of the file + * Laravel loads classes out of three directories: the core "laravel" directory, + * and the application "models" and "libraries" directories. All of the file * names are lower cased and the directory structure corresponds with the * class namespaces. * diff --git a/laravel/cookie.php b/laravel/cookie.php index 8304c77c..b912ab49 100644 --- a/laravel/cookie.php +++ b/laravel/cookie.php @@ -125,7 +125,7 @@ class Cookie { */ public static function forget($name) { - return static::put($name, null, -60); + return static::put($name, null, -1500); } } \ No newline at end of file