0

I am struggling with an SMF database collapse. I see files like 57657_91d53e636a4a5cf62f2be632136fb1caba7f6be7 in the attachment directory. What is used as the source for the hash? The sha1sum of the file itself doesn't match.

chx
  • 11,270
  • 7
  • 55
  • 129

1 Answers1

0

You can get the attachments file name (hash) using the function getAttachmentFileName(). The SMF function library provides the arguments

http://support.simplemachines.org/function_db/index.php?action=view_function;id=238

Colin Schoen
  • 2,526
  • 1
  • 17
  • 26