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

@@ -8,11 +8,6 @@ use Laravel\Session;
use Laravel\Session\Drivers\Driver;
use Laravel\Session\Drivers\Sweeper;
if (Config::get('application.key') === '')
{
throw new \Exception("An application key is required to use sessions.");
}
class Payload {
/**