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

Appearance settings
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 22ef8b5

Browse filesBrowse files
committed
bug #904 fix ignored session save_path (Tobion)
This PR was merged into the 3.0 branch. Discussion ---------- fix ignored session save_path fixes symfony/symfony#16898 do not use php.ini session handler but native file to actually use save_path config When handler_id is null it uses the Native one, but that does not set the save_path. So we need to use https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php instead (which is the default configuration). Commits ------- 070e53c do not use php.ini session handler but native file to actually use save_path config
2 parents c46b25e + 070e53c commit 22ef8b5
Copy full SHA for 22ef8b5

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎app/config/config.yml

Copy file name to clipboardExpand all lines: app/config/config.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ framework:
2626
trusted_hosts: ~
2727
trusted_proxies: ~
2828
session:
29-
# handler_id set to null will use default session handler from php.ini
30-
handler_id: ~
29+
handler_id: session.handler.native_file
3130
save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
3231
fragments: ~
3332
http_method_override: true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.