Skip to content

Commit

Permalink
Update modules/concepts/services/_index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kpodemski authored Sep 25, 2023
1 parent da91e0c commit 60b6b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/concepts/services/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ their documentation about the [Service Container](https://symfony.com/doc/4.4/se

##### Exclude index.php files when adding wildcard resource

When adding resources to your module namespace, with a wildcard, exclude all `index.php` files (used for security, redirecting to FO).
When adding resources with a wildcard to your module namespace, make sure to exclude all `index.php` files (this file is used for security; it is redirecting to FO to prevent reading from the directory). If you don't do it, you might be redirected whenever you open your shop.

```yaml
your_company.your_module:
Expand Down

0 comments on commit 60b6b83

Please sign in to comment.