@@ -1276,133 +1276,6 @@ Whether to enable the ``serializer`` service or not in the service container.
1276
1276
1277
1277
For more details, see :doc: `/cookbook/serializer `.
1278
1278
1279
- Full default Configuration
1280
- --------------------------
1281
-
1282
- .. configuration-block ::
1283
-
1284
- .. code-block :: yaml
1285
-
1286
- framework :
1287
- secret : ~
1288
- http_method_override : true
1289
- trusted_proxies : []
1290
- ide : ~
1291
- test : ~
1292
- default_locale : en
1293
-
1294
- # form configuration
1295
- form :
1296
- enabled : false
1297
- csrf_protection :
1298
- enabled : false
1299
- field_name : _token
1300
-
1301
- # esi configuration
1302
- esi :
1303
- enabled : false
1304
-
1305
- # fragments configuration
1306
- fragments :
1307
- enabled : false
1308
- path : /_fragment
1309
-
1310
- # profiler configuration
1311
- profiler :
1312
- enabled : false
1313
- collect : true
1314
- only_exceptions : false
1315
- only_master_requests : false
1316
- dsn : file:%kernel.cache_dir%/profiler
1317
- username :
1318
- password :
1319
- lifetime : 86400
1320
- matcher :
1321
- ip : ~
1322
-
1323
- # use the urldecoded format
1324
- path : ~ # Example: ^/path to resource/
1325
- service : ~
1326
-
1327
- # router configuration
1328
- router :
1329
- resource : ~ # Required
1330
- type : ~
1331
- http_port : 80
1332
- https_port : 443
1333
-
1334
- # set to true to throw an exception when a parameter does not match the requirements
1335
- # set to false to disable exceptions when a parameter does not match the requirements (and return null instead)
1336
- # set to null to disable parameter checks against requirements
1337
- # 'true' is the preferred configuration in development mode, while 'false' or 'null' might be preferred in production
1338
- strict_requirements : true
1339
-
1340
- # session configuration
1341
- session :
1342
- storage_id : session.storage.native
1343
- handler_id : session.handler.native_file
1344
- name : ~
1345
- cookie_lifetime : ~
1346
- cookie_path : ~
1347
- cookie_domain : ~
1348
- cookie_secure : ~
1349
- cookie_httponly : ~
1350
- gc_divisor : ~
1351
- gc_probability : ~
1352
- gc_maxlifetime : ~
1353
- save_path : " %kernel.cache_dir%/sessions"
1354
-
1355
- # serializer configuration
1356
- serializer :
1357
- enabled : false
1358
-
1359
- # templating configuration
1360
- templating :
1361
- assets_version : ~
1362
- assets_version_format : " %%s?%%s"
1363
- hinclude_default_template : ~
1364
- form :
1365
- resources :
1366
-
1367
- # Default:
1368
- - FrameworkBundle:Form
1369
- assets_base_urls :
1370
- http : []
1371
- ssl : []
1372
- cache : ~
1373
- engines : # Required
1374
-
1375
- # Example:
1376
- - twig
1377
- loaders : []
1378
- packages :
1379
-
1380
- # Prototype
1381
- name :
1382
- version : ~
1383
- version_format : " %%s?%%s"
1384
- base_urls :
1385
- http : []
1386
- ssl : []
1387
-
1388
- # translator configuration
1389
- translator :
1390
- enabled : false
1391
- fallback : en
1392
-
1393
- # validation configuration
1394
- validation :
1395
- enabled : false
1396
- cache : ~
1397
- enable_annotations : false
1398
- translation_domain : validators
1399
-
1400
- # annotation configuration
1401
- annotations :
1402
- cache : file
1403
- file_cache_dir : " %kernel.cache_dir%/annotations"
1404
- debug : " %kernel.debug%"
1405
-
1406
1279
.. _`protocol-relative` : http://tools.ietf.org/html/rfc3986#section-4.2
1407
1280
.. _`PhpStormOpener` : https://github.com/pinepain/PhpStormOpener
1408
1281
.. _`HTTP Host header attacks` : http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
0 commit comments