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

4.7.x
Gerhard Killesreiter 2006-04-14 09:08:26 +00:00
parent 683048e69a
commit 52379be172
1 changed files with 1 additions and 1 deletions

View File

@ -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>