modified cookie class. set application key on first request if not set.

This commit is contained in:
Taylor Otwell
2012-01-31 15:58:00 -06:00
parent 4cf7f0c627
commit 2b12c0c140
6 changed files with 58 additions and 66 deletions

View File

@@ -24,11 +24,6 @@ class Session {
*/
public static function start($driver)
{
if (Config::get('application.key') === '')
{
throw new \Exception("An application key is required to use sessions.");
}
static::$instance = new Session\Payload(static::factory($driver));
}