These are the instructions
I want to exclude the folder "cache" and all of its subdirectories, and the folder "backup".->excludeFolders( array folders )
This method can be used to exclude specific folders from being
checked. Each folder name must start with an existing entry in
CheckFolder. For example if CheckFolder is './public_html' then
to exclude the images folder you would specify
excludeFolders( array('./public_html/images') )
I've tried randomly for hours with
Code: Select all
array('./public_html/My-User/cache', './public_html/My-User/backup')
array('/public_html/My-User/cache', /public_html/My-User/backup')
array('public_html/My-User/cache', 'public_html/My-User/backup')
array('./public_html/My-User/cache/*', './public_html/My-User/backup')
array('/public_html/My-User/cache/*', /public_html/My-User/backup')
array('public_html/My-User/cache/*', 'public_html/My-User/backup')
array(My-User/cache/', My-User/backup')
What's the correct string I should insert to exclude these ddirectories? Thank you