diff --git a/xhprof_lib/utils/callgraph_utils.php b/xhprof_lib/utils/callgraph_utils.php index a7edc3fb..ea260f8f 100755 --- a/xhprof_lib/utils/callgraph_utils.php +++ b/xhprof_lib/utils/callgraph_utils.php @@ -26,6 +26,7 @@ "gif" => 1, "png" => 1, "ps" => 1, + "svg" => 1, ); /** @@ -70,6 +71,10 @@ function xhprof_generate_mime_header($type, $length) { break; case 'ps': $mime = 'application/postscript'; + break; + case 'svg': + $mime = 'image/svg+xml'; + break; default: $mime = false; }