Ozzy47 Well-known member Licensed customer Feb 2, 2020 #1 If I wanted to create a function in an addon that would let me "whitelist" files to ignore during the file health check, where would I begin?
If I wanted to create a function in an addon that would let me "whitelist" files to ignore during the file health check, where would I begin?
Jeremy P XenForo developer Staff member Licensed customer Feb 2, 2020 #2 The check happens in \XF\Job\FileCheck, but it's embedded deeply in the run() method so it's not particularly easy to hook. You could maybe read the output file, decode it, remove whitelisted entries, and re-save it.
The check happens in \XF\Job\FileCheck, but it's embedded deeply in the run() method so it's not particularly easy to hook. You could maybe read the output file, decode it, remove whitelisted entries, and re-save it.
Ozzy47 Well-known member Licensed customer Feb 2, 2020 #3 Thanks, I'll have a look as see if I can come up with something.