SMF modules use wrong method
Fixes attachment directory checks
Merge remote-tracking branch 'upstream/feature' into module-wbblite