blob: d4b88ded9341687700c50e0c929aa70a7c3654c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%
%
%my $conf=new FS::Conf;
%
%http_header('Content-Type' => 'application/x-unknown' );
%
%die "No configuration variable specified (bad URL)!" # umm
% unless $cgi->keywords;
%my($query) = $cgi->keywords;
%$query =~ /^([\w -\)+-\/@;:?=[\]]+)$/;
%my $name = $1;
%
%http_header('Content-Disposition' => "attachment; filename=$name" );
% print $conf->config_binary($name);
|