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

[SessionExtension] do not overwrite existing storage options

parent ede0f9d1
......@@ -36,7 +36,9 @@ class SessionExtension implements ExtensionInterface
$app['dispatcher']->addListener(HttpKernelEvents::onCoreRequest, $this, -255);
$app['session.storage.options'] = array();
if (!isset($app['session.storage.options'])) {
$app['session.storage.options'] = array();
}
}
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