Skip to content
Snippets Groups Projects
Commit 52379be1 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

#58647, don't show tpl.php files to people, patch by Morbus Iff

parent 683048e6
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -3,7 +3,7 @@
#
# Protect files and directories from prying eyes.
<FilesMatch "(\.(engine|inc|install|module|sh|.*sql|theme|tpl|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$">
<FilesMatch "(\.(engine|inc|install|module|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$">
Order deny,allow
Deny from all
</FilesMatch>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment