mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
set correct mimetype in crashreporter
This commit is contained in:
parent
1f5552cffa
commit
1bfc36d895
@ -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++;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user