forked from ZwiiCMS-Team/ZwiiCMS
12100 protect site/i18n
This commit is contained in:
parent
cf1e574173
commit
f27d643b8e
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,7 +4,7 @@ site/data/*
|
||||
site/tmp/*
|
||||
site/backup/*
|
||||
site/file/*
|
||||
site/i18n/*.*
|
||||
site/i18n/*.json
|
||||
.DS_Store
|
||||
core/vendor/tinymce/link_list.json
|
||||
robots.txt
|
||||
|
5
site/i18n/.htaccess
Normal file
5
site/i18n/.htaccess
Normal file
@ -0,0 +1,5 @@
|
||||
# Bloque l'accès aux données
|
||||
<Files ~ "\.(htaccess|json)$">
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Files>
|
Loading…
Reference in New Issue
Block a user