Selaa lähdekoodia

Add the ".dat" extension

Signed-off-by: Suki <[email protected]>
Suki 10 vuotta sitten
vanhempi
commit
4a86877e17
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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';
 }
 
 /**