From fc67bb045f9f5e1fc34a41df3020732106917a57 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 11 Feb 2026 14:23:07 +0000 Subject: [PATCH] Ignore application/cache but keep index and .htaccess Update .gitignore to exclude all files under /application/cache while whitelisting /application/cache/index.html and /application/cache/.htaccess. This prevents committing transient cache files but preserves placeholder and access-control files needed to keep the directory and settings in the repo. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index a6678d8b5..2ac39fe65 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ /application/config/config.php /application/config/managed.php /application/config/managed.sample.php +/application/cache/* +!/application/cache/index.html +!/application/cache/.htaccess /application/logs/*.php /uploads/*.adi /uploads/*.ADI