Set proper content type for minidump downloads

This commit is contained in:
Latif Khalifa
2013-10-06 20:34:28 +02:00
parent c316bedf52
commit dfa5d257c3

View File

@@ -14,4 +14,5 @@ if (!$miniDump || !($miniDump->getData()))
return;
}
header("Content-Type: application/octet-stream");
http::sendDownload("singularity" . ((int)$_GET["report_id"]) . ".dmp", $miniDump->getData());