Przeglądaj źródła

Add the ".dat" extension

Signed-off-by: Suki <[email protected]>
Suki 10 lat temu
rodzic
commit
4a86877e17
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 		$path = $modSettings['attachmentUploadDir'];
 
-	return $path . '/' . $attachment_id . '_' . $file_hash;
+	return $path . '/' . $attachment_id . '_' . $file_hash .'.dat';
 }
 
 /**