From 76eef23f54b9bad5329ef18aa992e2fa29fd668b Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 2 Mar 2012 17:12:43 -0600 Subject: [PATCH] Check for CLI before starting session. Signed-off-by: Taylor Otwell --- application/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/start.php b/application/start.php index ff0336cb..fa5bcd89 100644 --- a/application/start.php +++ b/application/start.php @@ -108,7 +108,7 @@ date_default_timezone_set(Config::get('application.timezone')); | */ -if (Config::get('session.driver') !== '') +if ( ! Request::cli() and Config::get('session.driver') !== '') { Session::load(); }