summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-09-22 12:00:06 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-09-22 12:00:06 (GMT)
commit431d138784ea13af9a26a16780d52b3385ab0b21 (patch)
tree61d0e2648fab1f674c1bc7265ca03de8ab0d4213
parente1b7f1d5db69ef7deac50c2171c2dce477a94aff (diff)
moved cgi stuff to rh-bin
-rw-r--r--README2
-rwxr-xr-xauthtoken.json2
-rw-r--r--js/shows.js2
-rwxr-xr-xrh-bin/listdropboxes.cgi (renamed from listdropboxes.cgi)2
-rwxr-xr-xrh-bin/rddb.pm (renamed from lib/rddb.pm)0
5 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 98fa91f..a11d503 100644
--- a/README
+++ b/README
@@ -31,7 +31,7 @@ add the following to the virtualhost config:
Include /etc/rivendell/apache.conf
- <Location /listdropboxes.cgi>
+ <Location /rb-bin/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
diff --git a/authtoken.json b/authtoken.json
index c65eb64..94d5042 100755
--- a/authtoken.json
+++ b/authtoken.json
@@ -2,7 +2,7 @@
use strict;
use File::Basename;
-use lib dirname( __FILE__ ) . '/lib';
+use lib dirname( __FILE__ ) . '/rh-bin';
use rddb;
my $status = 'ERROR';
diff --git a/js/shows.js b/js/shows.js
index 9f8170f..6b272bf 100644
--- a/js/shows.js
+++ b/js/shows.js
@@ -158,7 +158,7 @@ function shows_init() {
shows_currentid = sessionStorage.getItem("shows_currentid");
shows_list = [];
data = { LOGIN_NAME: auth_username, PASSWORD: auth_token };
- $.post("/listdropboxes.cgi", data, shows_updateList, "xml")
+ $.post("/rh-bin/listdropboxes.cgi", data, shows_updateList, "xml")
}
function shows_cleanup() {
diff --git a/listdropboxes.cgi b/rh-bin/listdropboxes.cgi
index 9261e20..14ecf11 100755
--- a/listdropboxes.cgi
+++ b/rh-bin/listdropboxes.cgi
@@ -3,7 +3,7 @@
use strict;
use CGI;
use File::Basename;
-use lib dirname( __FILE__ ) . '/lib';
+use lib dirname( __FILE__ );
use rddb;
my $status = 'ERROR';
diff --git a/lib/rddb.pm b/rh-bin/rddb.pm
index 34321d2..34321d2 100755
--- a/lib/rddb.pm
+++ b/rh-bin/rddb.pm