8000 move sessions outside of the cache directory · symfony/symfony-standard@dcf4ead · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit dcf4ead

Browse files
committed
move sessions outside of the cache directory
1 parent 693e1f7 commit dcf4ead

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
!var/cache/.gitkeep
77
/var/logs/*
88
!var/logs/.gitkeep
9+/var/sessions/*
10+
!var/sessions/.gitkeep
911
/vendor/
1012
/web/bundles/

app/config/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ framework:
2828
session:
2929
# handler_id set to null will use default session handler from php.ini
3030
handler_id: ~
31+
save_path: %kernel.root_dir%/../var/sessions/%kernel.environment%
3132
fragments: ~
3233
http_method_override: true
3334
assets: ~

var/sessions/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)
0