summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';