diff --git a/pages/graphviz.php b/pages/graphviz.php index ace9e1f9f..7a42a8ccb 100644 --- a/pages/graphviz.php +++ b/pages/graphviz.php @@ -143,14 +143,14 @@ if (file_exists($sDotExecutable)) else { header('Content-type: image/png'); - echo file_get_contents($sImageFilePath); + readfile($sImageFilePath); } @unlink($sDotFilePath); } else { header('Content-type: image/png'); - echo file_get_contents($sImageFilePath); + readfile($sImageFilePath); } ?>