Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
650ad576
Commit
650ad576
authored
Jul 18, 2011
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes lazy-loaded session (method name changed in Symfony)
parent
8c13bc70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Silex/Extension/SessionExtension.php
src/Silex/Extension/SessionExtension.php
+1
-1
No files found.
src/Silex/Extension/SessionExtension.php
View file @
650ad576
...
...
@@ -47,7 +47,7 @@ class SessionExtension implements ExtensionInterface
$request
->
setSession
(
$this
->
app
[
'session'
]);
// starts the session if a session cookie already exists in the request...
if
(
$request
->
hasSession
())
{
if
(
$request
->
has
Previous
Session
())
{
$request
->
getSession
()
->
start
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment