File mrtg-icons_path.patch of Package mrtg
Index: bin/indexmaker
===================================================================
--- bin/indexmaker.orig
+++ bin/indexmaker
@@ -294,7 +294,8 @@ sub genindex ($$$$) {
#lets make sure there is a trailing path separator
$gifPath =~ s|/*$|/|;
} else {
- $gifPath = "$$cfg{imagehtml}";
+ # $gifPath = "$$cfg{imagehtml}";
+ $gifPath = "/icons/"
}
Index: bin/mrtg
===================================================================
--- bin/mrtg.orig
+++ bin/mrtg
@@ -1834,7 +1834,8 @@ print HTML "
#lets make sure there is a trailing path separator
$gifPath =~ s|/*$|/|;
} else {
- $gifPath = "$dirrel$$cfg{imagehtml}";
+# $gifPath = "$dirrel$$cfg{imagehtml}";
+ $gifPath = "/icons/"
}
print HTML<<TEXT;