From 7613ac7a9b6c779d2b55d683792a1b6ccb910d04 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Thu, 12 Aug 2021 19:56:02 +0200 Subject: [PATCH] Graphviz: Remove generated SVG image after usage as it won't be cached --- pages/graphviz.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/graphviz.php b/pages/graphviz.php index 22cccc8ee9..72dbdb90f8 100644 --- a/pages/graphviz.php +++ b/pages/graphviz.php @@ -145,6 +145,8 @@ if (file_exists($sDotExecutable)) readfile($sImageFilePath); } @unlink($sDotFilePath); + // Image file is removed as well as there is no cache system yet + @unlink($sImageFilePath); } else {