You should apply that to the entire UBB.threads directory; or, if you insist on doing it per directory, it'd need to be applied to:
/cache
/cache_builders/custom
/gallery
/images (if you want to allow uploads from the control panel)
/includes
/languages (if you want to be able to use the editor)
/sessions
/styles (if you want to be able to create/manage styles)
/templates/compile
/tmp
/uploads (if you're using this directory for uploads)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!