File mrtg-2.17.0-icons.diff of Package mrtg
Index: bin/indexmaker
===================================================================
--- bin/indexmaker.orig
+++ bin/indexmaker
@@ -292,7 +292,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
@@ -1741,7 +1741,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;