소스 검색

Allow changing the session storage path

Jordi Boggiano 10 년 전
부모
커밋
26900f55a1
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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