summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi
diff options
context:
space:
mode:
authorivan <ivan>2008-07-21 19:09:36 +0000
committerivan <ivan>2008-07-21 19:09:36 +0000
commit3c4456c1de9701d93b64fcbadcfaca598a0347d8 (patch)
tree3882ec86c37ec3cc6be6cc969203398e96088fd4 /fs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi
parent9a90f2af0663c9b4e9611e044fd25349425d1aec (diff)
signup w/globalpops DID selection via mason components pass-through
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi')
-rwxr-xr-xfs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi18
1 files changed, 18 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi b/fs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi
new file mode 100755
index 000000000..d8df970d9
--- /dev/null
+++ b/fs_selfservice/FS-SelfService/cgi/misc/exchanges.cgi
@@ -0,0 +1,18 @@
+#!/usr/bin/perl -w
+
+use strict;
+use CGI;
+use FS::SelfService qw( mason_comp );
+
+my $cgi = new CGI;
+
+my $rv = mason_comp( 'comp' => '/misc/exchanges.cgi',
+ 'query_string' => $cgi->query_string, #pass CGI params...
+ );
+
+#hmm.
+my $output = $rv->{'error'} || $rv->{'output'};
+
+print $cgi->header( '-expires' => 'now' ).
+ $output;
+