blob: 235485f6b219a2365b57b9550c6cb3517e69a348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<%
my $conf = new FS::Conf;
my($query) = $cgi->keywords;
$query =~ /^([^\.\/]*)$/;
my $templatename = $1;
if ( $templatename && $conf->exists("logo_$templatename.png") ) {
$templatename = "_$templatename";
} else {
$templatename = '';
}
http_header('Content-Type' => 'image/png' );
%><%= $conf->config_binary("logo$templatename.png") %>
|