summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-07-24 19:36:57 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-07-24 19:36:57 +0200
commit6f4833870c8de9fbcc0fa96f87c783fa9e280b5e (patch)
treee655e776c585bb0edafbe9b8f8a7a98bca8bb89b /htdocs
parent11299344ee659123b8fe18794da4e7a7b24c6e5c (diff)
downloadsmokeping-6f4833870c8de9fbcc0fa96f87c783fa9e280b5e.tar.gz
smokeping-6f4833870c8de9fbcc0fa96f87c783fa9e280b5e.tar.xz
* added strict and warnings to the cgi and the daemon wrappers ...
* fixed regression introduced while fixing taint issues
Diffstat (limited to 'htdocs')
-rwxr-xr-xhtdocs/smokeping.cgi.dist12
1 files changed, 8 insertions, 4 deletions
diff --git a/htdocs/smokeping.cgi.dist b/htdocs/smokeping.cgi.dist
index 6e462d8..fb62eba 100755
--- a/htdocs/smokeping.cgi.dist
+++ b/htdocs/smokeping.cgi.dist
@@ -1,13 +1,17 @@
-#!/usr/sepp/bin/speedy -w
+#!/usr/bin/speedy
# -*-perl-*-
-use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
-use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib);
+use strict;
+use warnings;
+
+use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
+use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib);
+
use CGI::Carp qw(fatalsToBrowser);
use Smokeping 2.004000;
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config");
+Smokeping::cgi("/home/oetiker/checkouts/smokeping/trunk/software/etc/config.dist");
=head1 NAME