Commit 76eef23f authored by Taylor Otwell's avatar Taylor Otwell

Check for CLI before starting session.

Signed-off-by: 's avatarTaylor Otwell <taylorotwell@gmail.com>
parent d43157b6
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment