summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-04-04 16:48:07 -0700
committerIvan Kohler <ivan@freeside.biz>2012-04-04 16:48:07 -0700
commit00068a5f2d8535d64b4900d2fd8470c1333ea7ac (patch)
treedb1d347f757d99e4c460e65e6c7d568429e20723 /httemplate/view
parent9e710a89ff6b8a1e6b0dc407e7522390dc168079 (diff)
add brand-agent option, RT#17055
Diffstat (limited to 'httemplate/view')
-rwxr-xr-xhttemplate/view/logo-agent.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/view/logo-agent.cgi b/httemplate/view/logo-agent.cgi
new file mode 100755
index 000000000..0f654140c
--- /dev/null
+++ b/httemplate/view/logo-agent.cgi
@@ -0,0 +1,10 @@
+<% $conf->config_binary("logo.png", $agentnum) %>
+<%init>
+
+my $conf = new FS::Conf;
+
+my $agentnum = $cgi->param('agentnum');
+
+http_header('Content-Type' => 'image/png' );
+
+</%init>