12100 protect site/i18n

This commit is contained in:
Fred Tempez 2023-01-01 14:49:04 +01:00
parent cf1e574173
commit f27d643b8e
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -4,7 +4,7 @@ site/data/*
site/tmp/* site/tmp/*
site/backup/* site/backup/*
site/file/* site/file/*
site/i18n/*.* site/i18n/*.json
.DS_Store .DS_Store
core/vendor/tinymce/link_list.json core/vendor/tinymce/link_list.json
robots.txt robots.txt

5
site/i18n/.htaccess Normal file
View File

@ -0,0 +1,5 @@
# Bloque l'accès aux données
<Files ~ "\.(htaccess|json)$">
Order deny,allow
Deny from all
</Files>