summaryrefslogtreecommitdiff
path: root/hearth/var/www
diff options
context:
space:
mode:
Diffstat (limited to 'hearth/var/www')
-rwxr-xr-xhearth/var/www/cgi/dlr-clickatell.cgi13
-rwxr-xr-xhearth/var/www/cgi/dlr-routo.cgi13
-rwxr-xr-xhearth/var/www/cgi/test.cgi13
-rw-r--r--hearth/var/www/etc/hellosms.cfg1
4 files changed, 40 insertions, 0 deletions
diff --git a/hearth/var/www/cgi/dlr-clickatell.cgi b/hearth/var/www/cgi/dlr-clickatell.cgi
new file mode 100755
index 0000000..df849bf
--- /dev/null
+++ b/hearth/var/www/cgi/dlr-clickatell.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();
diff --git a/hearth/var/www/cgi/dlr-routo.cgi b/hearth/var/www/cgi/dlr-routo.cgi
new file mode 100755
index 0000000..1675fd2
--- /dev/null
+++ b/hearth/var/www/cgi/dlr-routo.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 => 'routo',
+ },
+);
+$webapp->run();
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();
diff --git a/hearth/var/www/etc/hellosms.cfg b/hearth/var/www/etc/hellosms.cfg
new file mode 100644
index 0000000..222614a
--- /dev/null
+++ b/hearth/var/www/etc/hellosms.cfg
@@ -0,0 +1 @@
+templates_path = /home/hearth/public_webdata/hearth/HelloSMS/templates