summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES4
-rw-r--r--lib/Smokeping.pm4
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index d3b815a..4dfb362 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+* building a --static version of the smokeping page is broken. Make
+ it a little less broken by providing a dummyCGI->script_name method.
+ --tobi
+
* added blazemode option to FPing, so that it sends an extra ping to
blaze a path to the destionation and then discarges it. Based on idea by
G.W. Haywood -- tobi
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 7d205bf..af5906c 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -72,6 +72,10 @@ sub dummyCGI::param {
return wantarray ? () : "";
}
+sub dummyCGI::script_name {
+ return wantarray ? () : "";
+}
+
sub load_probes ($){
my $cfg = shift;
my %prbs;