Commit 73bb2b07 authored by Fabien Potencier's avatar Fabien Potencier

fixed priority of the session listener (matches the priority set in Symfony FrameworkBundle)

parent 9a8858f6
......@@ -39,7 +39,7 @@ class SessionExtension implements ExtensionInterface
return new NativeSessionStorage($app['session.storage.options']);
});
$app['dispatcher']->addListener(KernelEvents::REQUEST, array($this, 'onKernelRequest'), -255);
$app['dispatcher']->addListener(KernelEvents::REQUEST, array($this, 'onKernelRequest'), 128);
if (!isset($app['session.storage.options'])) {
$app['session.storage.options'] = array();
......
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