diff options
author | Jonas <dr@jones.dk> | 2012-10-18 07:11:32 +0200 |
---|---|---|
committer | Jonas <dr@jones.dk> | 2012-10-18 07:11:32 +0200 |
commit | e59ed1dabc2d40a46cbc1d9bafcdf34c564487af (patch) | |
tree | 9298191d4452804ab5fcfe20d6ddd6be056d5099 /hearth/var | |
parent | 9635c9ac0b2a0a9d86c55587c3b104b592251f89 (diff) |
Add helloearth setup.
Diffstat (limited to 'hearth/var')
-rwxr-xr-x | hearth/var/www/cgi/dlr-clickatell.cgi | 13 | ||||
-rwxr-xr-x | hearth/var/www/cgi/dlr-routo.cgi | 13 | ||||
-rwxr-xr-x | hearth/var/www/cgi/test.cgi | 13 | ||||
-rw-r--r-- | hearth/var/www/etc/hellosms.cfg | 1 |
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 |