Commit 851db170 authored by Taylor Otwell's avatar Taylor Otwell

dont register session in ioc.

parent 0e4f7268
...@@ -82,16 +82,14 @@ if (magic_quotes()) ...@@ -82,16 +82,14 @@ if (magic_quotes())
/** /**
* Load the session using the session manager. The payload will * Load the session using the session manager. The payload will
* be registered in the IoC container as an instance so it can * be set on a static property of the Session class for easy
* be easily access throughout the framework. * access throughout the framework and application.
*/ */
if (Config::get('session.driver') !== '') if (Config::get('session.driver') !== '')
{ {
Session::start(Config::get('session.driver')); Session::start(Config::get('session.driver'));
Session::load(Cookie::get(Config::get('session.cookie'))); Session::load(Cookie::get(Config::get('session.cookie')));
IoC::instance('laravel.session', Session::$instance);
} }
/** /**
......
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