We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b76c12c + b776184 commit 67a3ae8Copy full SHA for 67a3ae8
src/Resources/doc/index.rst
@@ -26,30 +26,6 @@ the ``config/bundles.php`` file of your project::
26
// ...
27
];
28
29
-If you don't have a ``config/bundles.php`` file in your project, chances are that
30
-you're using an older Symfony version. In this case, you should have an
31
-``app/AppKernel.php`` file instead. Edit such file::
32
-
33
- <?php
34
- // app/AppKernel.php
35
36
- // ...
37
- class AppKernel extends Kernel
38
- {
39
- public function registerBundles()
40
41
- $bundles = [
42
43
44
- new Nelmio\SecurityBundle\NelmioSecurityBundle(),
45
- ];
46
47
48
- }
49
50
51
52
53
In order to inject ``ContentSecurityPolicyListener`` in a service, it needs to be manually configured:
54
55
.. code-block:: yaml
0 commit comments