summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-06-09 07:20:13 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-06-09 07:20:13 +0200
commit129d59bc63a690e750a0e4f55ee8389495e2882a (patch)
tree1e5025a65eb1333ca3983788b8ccc6b6c5258bfc
parent156fc3d2ef35ff525d13ee3d693728596a62ab82 (diff)
downloadsmokeping-129d59bc63a690e750a0e4f55ee8389495e2882a.tar.gz
smokeping-129d59bc63a690e750a0e4f55ee8389495e2882a.tar.xz
added dummy script_name methode
-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;