summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-04-04 16:48:01 -0700
committerIvan Kohler <ivan@freeside.biz>2012-04-04 16:48:01 -0700
commit6cebc2154e81a0c60a8892fdac88fca5be74f75b (patch)
treec8454a1703b29a92e1b1c2859c194a63c727e08c /httemplate/view
parenteb1652e3e27879dc21fb5de882581b5759a66bee (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>