Commit a9f6fbd7 authored by Taylor Otwell's avatar Taylor Otwell

fixed session extraction bug.

parents 1dd6daf7 0a3208e0
...@@ -231,11 +231,9 @@ abstract class Driver { ...@@ -231,11 +231,9 @@ abstract class Driver {
{ {
if ( ! headers_sent()) if ( ! headers_sent())
{ {
extract(Config::get('session')); $minutes = (Config::get('session.expire_on_close')) ? 0 : Config::get('session.lifetime');
$minutes = ($expire_on_close) ? 0 : $lifetime; Cookie::put('laravel_session', static::$session['id'], $minutes, Config::get('session.path'), Config::get('session.domain'), Config::get('session.https'), Config::get('http_only'));
Cookie::put('laravel_session', $this->session['id'], $minutes, $path, $domain, $https, $http_only);
} }
} }
......
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