diff --git a/pages/graphviz.php b/pages/graphviz.php index df9ba9dd7..3ad2298d2 100644 --- a/pages/graphviz.php +++ b/pages/graphviz.php @@ -143,6 +143,7 @@ if (file_exists($sDotExecutable)) else { header('Content-type: image/svg+xml'); + header('Content-Disposition: inline; filename="'.$sClass.'.svg"'); readfile($sImageFilePath); } @unlink($sDotFilePath); @@ -150,6 +151,7 @@ if (file_exists($sDotExecutable)) else { header('Content-type: image/png'); + header('Content-Disposition: inline; filename="'.$sClass.'.png"'); readfile($sImageFilePath); }