use default logo if the agent-specific one isn't found
[freeside.git] / httemplate / view / cust_bill-logo.cgi
1 <%
2
3 my($query) = $cgi->keywords;
4 $query =~ /^([^\.\/]*)$/;
5 my $templatename = $1;
6 $templatename = "_$templatename"
7   if $templatename && $conf->exists("${logo}_$templatename.png");
8
9 my $conf = new FS::Conf;
10
11 http_header('Content-Type' => 'image/png' );
12 %><%= $conf->config_binary("logo$templatename.png") %>