summaryrefslogtreecommitdiff
path: root/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2010-12-27 00:04:45 +0000
committercvs2git <cvs2git>2010-12-27 00:04:45 +0000
commitc82d349f864e6bd9f96fd1156903bc1f7193a203 (patch)
treee117a87533656110b6acd56fc0ca64289892a9f5 /fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
parent74e058c8a010ef6feb539248a550d0bb169c1e94 (diff)
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi')
-rw-r--r--fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi25
1 files changed, 0 insertions, 25 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi b/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
deleted file mode 100644
index 253f853f8..000000000
--- a/fs_selfservice/FS-SelfService/cgi/cust_bill-logo.cgi
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/perl -T
-#!/usr/bin/perl -Tw
-
-use strict;
-use CGI;
-use FS::SelfService qw( invoice_logo );
-
-my $cgi = new CGI;
-
-my %hash = ();
-if ( $cgi->param('invnum') ) {
- $hash{$_} = scalar($cgi->param($_)) foreach qw( invnum template );
-} else {
- my($query) = $cgi->keywords;
- $query =~ /^([^\.\/]*)$/ or '' =~ /^()$/;
- $hash{'template'} = $1;
-}
-
-my $hashref = invoice_logo(%hash);
-
-print $cgi->header( '-type' => $hashref->{'content_type'},
- '-expires' => 'now',
- ).
- $hashref->{'logo'};
-