summaryrefslogtreecommitdiff
path: root/hearth/var/www/cgi/test.cgi
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2012-10-18 07:11:32 +0200
committerJonas <dr@jones.dk>2012-10-18 07:11:32 +0200
commite59ed1dabc2d40a46cbc1d9bafcdf34c564487af (patch)
tree9298191d4452804ab5fcfe20d6ddd6be056d5099 /hearth/var/www/cgi/test.cgi
parent9635c9ac0b2a0a9d86c55587c3b104b592251f89 (diff)
Add helloearth setup.
Diffstat (limited to 'hearth/var/www/cgi/test.cgi')
-rwxr-xr-xhearth/var/www/cgi/test.cgi13
1 files changed, 13 insertions, 0 deletions
diff --git a/hearth/var/www/cgi/test.cgi b/hearth/var/www/cgi/test.cgi
new file mode 100755
index 0000000..df849bf
--- /dev/null
+++ b/hearth/var/www/cgi/test.cgi
@@ -0,0 +1,13 @@
+#!/usr/bin/perl
+#use FindBin '$Bin';
+#use lib "$Bin/../../public_webdata/hearth/HelloSMS/lib";
+use lib "/home/hearth/public_webdata/hearth/HelloSMS/lib";
+use HelloSMS::DLR;
+
+my $webapp = HelloSMS::DLR->new(
+ PARAMS => {
+ cfg_file => '/home/hearth/public_webdata/hearth/HelloSMS/etc/hellosms.cfg',
+ id => 'clickatell',
+ },
+);
+$webapp->run();