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.
This commit is contained in:
Peter Goodhall 2026-02-11 14:23:07 +00:00
parent c57c250b45
commit fc67bb045f

3
.gitignore vendored
View file

@ -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