Commit 07d1151b authored by Fabien Potencier's avatar Fabien Potencier

Merge remote branch 'igorw/session-storage-options'

* igorw/session-storage-options:
  [SessionExtension] do not overwrite existing storage options
parents db985618 219bf331
...@@ -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