diff --git a/Bootstraps/Symfony.php b/Bootstraps/Symfony.php index ca909d7..2196a4e 100644 --- a/Bootstraps/Symfony.php +++ b/Bootstraps/Symfony.php @@ -73,7 +73,7 @@ public function getApplication() //now we can modify the container $nativeStorage = new StrongerNativeSessionStorage( - $app->getContainer()->getParameter('session.storage.options'), + $app->getContainer()->has('session.storage.options') ? $app->getContainer()->getParameter('session.storage.options') : array(), $app->getContainer()->has('session.handler') ? $app->getContainer()->get('session.handler'): null ); $app->getContainer()->set('session.storage.native', $nativeStorage);