Commit cc0c51a7 authored by Franco Fichtner's avatar Franco Fichtner

crash reporter: curl says no (hates links apparently)

parent 0e5b18c4
...@@ -41,6 +41,9 @@ function upload_crash_report($files) ...@@ -41,6 +41,9 @@ function upload_crash_report($files)
$counter = 0; $counter = 0;
foreach($files as $filename) { foreach($files as $filename) {
if (is_link($filename)) {
continue;
}
$post["file{$counter}"] = curl_file_create($filename, "application/x-gzip", basename($filename)); $post["file{$counter}"] = curl_file_create($filename, "application/x-gzip", basename($filename));
$counter++; $counter++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment