From a46e61cd2de24a67abbfeae31b730aea87c4e480 Mon Sep 17 00:00:00 2001 From: Literallie Date: Tue, 22 Jan 2019 06:51:49 +0100 Subject: [PATCH] Add a CACHEDIR.TAG file to tmp/ (#13653) Note that this does not handle cases where users delete the whole tmp/ directory. However, it is to be expected that users depending on that file would take care not to delete it. Fixes matomo-org/matomo#12754 --- .gitignore | 1 + tmp/CACHEDIR.TAG | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 tmp/CACHEDIR.TAG diff --git a/.gitignore b/.gitignore index 4447a81e666..3a31bed692c 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ php_errors.log /robots.txt /tmp/* !/tmp/.gitkeep +!/tmp/CACHEDIR.TAG /vendor/ /.cache /.externalToolBuilders diff --git a/tmp/CACHEDIR.TAG b/tmp/CACHEDIR.TAG new file mode 100644 index 00000000000..5b2a7e19e9f --- /dev/null +++ b/tmp/CACHEDIR.TAG @@ -0,0 +1,4 @@ +Signature: 8a477f597d28d172789f06886806bc55 +# This file is a cache directory tag created by Matomo. +# For information about cache directory tags, see: +# http://www.bford.info/cachedir/