set correct mimetype in crashreporter

This commit is contained in:
Ad Schellevis 2015-07-05 14:13:51 +00:00
parent 1f5552cffa
commit 1bfc36d895

View File

@ -42,7 +42,7 @@ function upload_crash_report($files)
$counter = 0;
foreach($files as $filename) {
$post["file{$counter}"] = curl_file_create($filename, "plain/text", basename($filename));
$post["file{$counter}"] = curl_file_create($filename, "application/x-gzip", basename($filename));
$counter++;
}