Merge pull request #2583 from zhhl/fixLogoPathInHTMLReport

fix the logo path using absolute path problem in HTML report
This commit is contained in:
Richard Cordovano 2017-03-09 13:31:35 -05:00 committed by GitHub
commit ce14e3465d

View File

@ -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("<head>\n<title>").append(reportTitle).append(" ").append(
NbBundle.getMessage(this.getClass(), "ReportHTML.writeIndex.title", currentCase.getDisplayName())).append(