Browse Source

Add the ".dat" extension

Signed-off-by: Suki <[email protected]>
Suki 10 years ago
parent
commit
4a86877e17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/Subs.php

+ 1 - 1
Sources/Subs.php

@@ -3408,7 +3408,7 @@ function getAttachmentFilename($filename, $attachment_id, $dir = null, $new = fa
 	else
 	else
 		$path = $modSettings['attachmentUploadDir'];
 		$path = $modSettings['attachmentUploadDir'];
 
 
-	return $path . '/' . $attachment_id . '_' . $file_hash;
+	return $path . '/' . $attachment_id . '_' . $file_hash .'.dat';
 }
 }
 
 
 /**
 /**