5 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
7 http_header( 'Content-Type' => 'image/png' ); #just png for now
9 $cgi->param('key') =~ /^([-\w.]+)$/ or die "illegal config option";
13 if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
18 if ( $cgi->param('locale') =~ /^(\w+)$/ ) {
22 my $conf = new FS::Conf { 'locale' => $locale };
24 my $logo = $conf->config_binary($name, $agentnum);
25 $logo = eps2png($logo) if $name =~ /\.eps$/i;