Sfoglia il codice sorgente

Add the ".dat" extension

Signed-off-by: Suki <[email protected]>
Suki 10 anni fa
parent
commit
4a86877e17
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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';
 }
 
 /**