Skip to content

Commit 67a3ae8

Browse files
authored
Merge pull request #375 from ThomasLandauer/patch-1
Update index.rst: Removing old (ancient) installation information
2 parents b76c12c + b776184 commit 67a3ae8

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/Resources/doc/index.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,6 @@ the ``config/bundles.php`` file of your project::
2626
// ...
2727
];
2828

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-
5329
In order to inject ``ContentSecurityPolicyListener`` in a service, it needs to be manually configured:
5430

5531
.. code-block:: yaml

0 commit comments

Comments
 (0)