From c82d349f864e6bd9f96fd1156903bc1f7193a203 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Mon, 27 Dec 2010 00:04:45 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'. --- httemplate/misc/custom_link_proxy.cgi | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 httemplate/misc/custom_link_proxy.cgi (limited to 'httemplate/misc/custom_link_proxy.cgi') diff --git a/httemplate/misc/custom_link_proxy.cgi b/httemplate/misc/custom_link_proxy.cgi deleted file mode 100644 index e5934e4a6..000000000 --- a/httemplate/misc/custom_link_proxy.cgi +++ /dev/null @@ -1,24 +0,0 @@ -% if( $response->is_success ) { -<% $response->decoded_content %> -% } -% else { -<% $response->error_as_HTML %> -% } -<%init> - -my( $custnum ) = $cgi->param('custnum'); -my $cust_main = qsearchs('cust_main', { custnum => $custnum } ) - or die "custnum '$custnum' not found"; # just check for existence - -my $conf = new FS::Conf; -my $url = $conf->config('cust_main-custom_link') . $cust_main->custnum; -#warn $url; - -my $curuser = $FS::CurrentUser::CurrentUser; - -die "access denied" - unless $curuser->access_right('View customer'); - -my $ua = new LWP::UserAgent; -my $response = $ua->get($url); - -- cgit v1.2.1