Commit 219bf331 authored by Igor Wiedler's avatar Igor Wiedler

[SessionExtension] do not overwrite existing storage options

parent ede0f9d1
...@@ -36,8 +36,10 @@ class SessionExtension implements ExtensionInterface ...@@ -36,8 +36,10 @@ class SessionExtension implements ExtensionInterface
$app['dispatcher']->addListener(HttpKernelEvents::onCoreRequest, $this, -255); $app['dispatcher']->addListener(HttpKernelEvents::onCoreRequest, $this, -255);
if (!isset($app['session.storage.options'])) {
$app['session.storage.options'] = array(); $app['session.storage.options'] = array();
} }
}
public function onCoreRequest($event) public function onCoreRequest($event)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment