From 1dfc018ac187621459fd8d57748924c372fd9fa6 Mon Sep 17 00:00:00 2001 From: "U-BASIS\\zhaohui" Date: Thu, 9 Mar 2017 13:23:51 -0500 Subject: [PATCH] fix the logo path using absulte path problem in HTML report --- Core/src/org/sleuthkit/autopsy/report/ReportHTML.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java b/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java index 4b643e2a02..059ac8530f 100644 --- a/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java +++ b/Core/src/org/sleuthkit/autopsy/report/ReportHTML.java @@ -855,6 +855,8 @@ class ReportHTML implements TableReportModule { if (iconPath == null) { // use default Autopsy icon if custom icon is not set iconPath = "favicon.ico"; + } else { + iconPath = "agency_logo"; //ref to writeNav() for agency_logo } index.append("\n").append(reportTitle).append(" ").append( NbBundle.getMessage(this.getClass(), "ReportHTML.writeIndex.title", currentCase.getDisplayName())).append(