Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita859e36

Browse files
committed
Fixed the priority of the sticky locale example
1 parent31c0227 commita859e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎session/locale_sticky_session.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ how you determine the desired locale from the request::
5454
public static function getSubscribedEvents()
5555
{
5656
return array(
57-
// must be registeredafter the default Locale listener
58-
KernelEvents::REQUEST => array(array('onKernelRequest',15)),
57+
// must be registeredbefore (i.e. with a higher priority than) the default Locale listener
58+
KernelEvents::REQUEST => array(array('onKernelRequest',20)),
5959
);
6060
}
6161
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp