Browse Source

register session in ioc.

Taylor Otwell 13 years ago
parent
commit
fce005d0b9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      laravel/laravel.php

+ 2 - 0
laravel/laravel.php

@@ -70,6 +70,8 @@ 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);
 }
 
 /**