From 851db1703e1d8d1d281f3bcca4f5fd3d7eb66f77 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 16 Feb 2012 15:14:31 -0600 Subject: [PATCH] dont register session in ioc. --- laravel/laravel.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/laravel/laravel.php b/laravel/laravel.php index 438a7b27..1fd87f0f 100644 --- a/laravel/laravel.php +++ b/laravel/laravel.php @@ -82,16 +82,14 @@ /** * Load the session using the session manager. The payload will - * be registered in the IoC container as an instance so it can - * be easily access throughout the framework. + * be set on a static property of the Session class for easy + * access throughout the framework and application. */ if (Config::get('session.driver') !== '') { Session::start(Config::get('session.driver')); Session::load(Cookie::get(Config::get('session.cookie'))); - - IoC::instance('laravel.session', Session::$instance); } /**