Adds a new diagnostic that checks that the tmp/ directory is not accessible, and checks that, if present, the .git/ directory is not accessible.
For reference: I also created a similar check in my plugin that also checks for
lang/en.json (less severe, but indicates that the htaccess doesn't work),
config/config.ini.php (also showing a warning if it only outputs
Unfortunately I don't think there's an easy way to implement it so an actual browser separate from the server makes those requests. At least none that I can think of.