Pārlūkot izejas kodu

Allow changing the session storage path

Jordi Boggiano 10 gadi atpakaļ
vecāks
revīzija
26900f55a1
2 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 1 0
      app/config/config.yml
  2. 1 0
      app/config/defaults.yml

+ 1 - 0
app/config/config.yml

@@ -18,6 +18,7 @@ framework:
         name: packagist
         cookie_lifetime: 3600
         cookie_httponly: true
+        save_path: %session_save_path%
     trusted_proxies: %trusted_proxies%
     trusted_hosts: %trusted_hosts%
     http_method_override: true

+ 1 - 0
app/config/defaults.yml

@@ -1,2 +1,3 @@
 parameters:
     packagist_host: ~
+    session_save_path: %kernel.cache_dir%/sessions