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