From 57182b05890a5eadf067b4da7c5ef5e3037738ca Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 20 Mar 2015 13:24:18 +0000 Subject: [PATCH] Forbid access to cache files --- .gitignore | 1 + src/mibew/cache/.htaccess | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/mibew/cache/.htaccess diff --git a/.gitignore b/.gitignore index 01fb1f55..db0543c0 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ src/mibew/files/avatar/* # Do not index cache files src/mibew/cache/* !src/mibew/cache/.keep +!src/mibew/cache/.htaccess # Do not index plugins src/mibew/plugins/* diff --git a/src/mibew/cache/.htaccess b/src/mibew/cache/.htaccess new file mode 100644 index 00000000..14249c50 --- /dev/null +++ b/src/mibew/cache/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file