File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,34 @@ save_path
243
243
**type **: ``string `` **default **: ``%kernel.cache.dir%/sessions ``
244
244
245
245
This determines the argument to be passed to the save handler. If you choose
246
- the default file handler, this is the path where the files are created.
246
+ the default file handler, this is the path where the files are created. You can
247
+ also set this value to the ``save_path `` of your ``php.ini `` by overriding setting it to
248
+ ``null ``:
249
+
250
+ .. configuration-block ::
251
+
252
+ .. code-block :: yaml
253
+
254
+ # app/config/config.yml
255
+ framework :
256
+ session :
257
+ save_path : null
258
+
259
+ .. code-block :: xml
260
+
261
+ <!-- app/config/config.xml -->
262
+ <framework : config >
263
+ <framework : session save-path =" null" />
264
+ </framework : config >
265
+
266
+ .. code-block :: php
267
+
268
+ // app/config/config.php
269
+ $container->loadFromExtension('framework', array(
270
+ 'session' => array(
271
+ 'save_path' => null,
272
+ ),
273
+ ));
247
274
248
275
templating
249
276
~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments