-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEXT-21959 - allowing all .twig files (for also including xml files)
fixes #2513
- Loading branch information
1 parent
f13d6e7
commit c1312c5
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: Allowing all .twig files | ||
issue: NEXT-21959 | ||
author_email: christopher@pixupmedia.com | ||
author_github: christopherPix | ||
--- | ||
# Core | ||
* Changed the constant `ALLOWED_FILE_EXTENSIONS` in `src/Core/Framework/App/Template/TemplateLoader.php` from `*.html.twig` to `*.twig` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...Test/App/Manifest/_fixtures/test/Resources/views/storefront/page/sitemap/sitemap.xml.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{% sw_extends '@Storefront/storefront/page/sitemap/sitemap.xml.twig' %} | ||
|
||
{% block sitemap %} | ||
{{ parent() }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters