diff options
| -rw-r--r-- | composer.json | 6 | ||||
| -rw-r--r-- | public/images/.htaccess | 10 | ||||
| -rw-r--r-- | public/media/.htaccess | 10 |
3 files changed, 26 insertions, 0 deletions
diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..22178ea --- /dev/null +++ b/composer.json | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | { | ||
| 2 | "require": { | ||
| 3 | "tinymce/tinymce": "^8.3", | ||
| 4 | "mklkj/tinymce-i18n": "^25.11" | ||
| 5 | } | ||
| 6 | } | ||
diff --git a/public/images/.htaccess b/public/images/.htaccess new file mode 100644 index 0000000..4494297 --- /dev/null +++ b/public/images/.htaccess | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # désactiver l'interpréteur PHP | ||
| 2 | php_flag engine off | ||
| 3 | |||
| 4 | # exploration des dossiers | ||
| 5 | Options -Indexes | ||
| 6 | |||
| 7 | # interdire l'accès directaux fichiers .htaccess et .htpasswd | ||
| 8 | <FilesMatch "^\.(htaccess|htpasswd)$"> | ||
| 9 | Require all denied | ||
| 10 | </FilesMatch> | ||
diff --git a/public/media/.htaccess b/public/media/.htaccess new file mode 100644 index 0000000..4494297 --- /dev/null +++ b/public/media/.htaccess | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # désactiver l'interpréteur PHP | ||
| 2 | php_flag engine off | ||
| 3 | |||
| 4 | # exploration des dossiers | ||
| 5 | Options -Indexes | ||
| 6 | |||
| 7 | # interdire l'accès directaux fichiers .htaccess et .htpasswd | ||
| 8 | <FilesMatch "^\.(htaccess|htpasswd)$"> | ||
| 9 | Require all denied | ||
| 10 | </FilesMatch> | ||
