summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-01-24 16:34:02 +0000
committerivan <ivan>2002-01-24 16:34:02 +0000
commite843525aea5644e63a99addca6d91d43bb82fffd (patch)
tree4ed7648ec4c8a34e8477da9340ca113bc411d998
parentf46bdaf4c168c9c21e7fefb07ce2f60d7ff84afc (diff)
mmm cvsHEADmaster
-rwxr-xr-xicesnap1
-rw-r--r--icesnap.conf10
2 files changed, 6 insertions, 5 deletions
diff --git a/icesnap b/icesnap
index b56aa3b..f5cbb1f 100755
--- a/icesnap
+++ b/icesnap
@@ -8,6 +8,7 @@
# ivan-icelog@420.am
use strict;
+use vars qw($host $port $admin_password $template $outdir);
use Net::Icecast;
use Apache::ASP;
diff --git a/icesnap.conf b/icesnap.conf
index 0f9bf31..a35bdd9 100644
--- a/icesnap.conf
+++ b/icesnap.conf
@@ -1,16 +1,16 @@
# icecast server host
-my $host = 'server.name';
+$host = 'server.name';
# icecast server port number
-my $port = 8000;
+$port = 8000;
# icecast server admin password
-my $admin_password = 'adminpw';
+$admin_password = 'adminpw';
# template file
-my $template = '/path/to/snap.tmpl';
+$template = '/path/to/snap.tmpl';
# html output directory
-my $outdir = '/path/to/htmlout';
+$outdir = '/path/to/htmlout';