projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add brand-agent option, RT#17055
[freeside.git]
/
httemplate
/
view
/
logo-agent.cgi
diff --git a/httemplate/view/logo-agent.cgi
b/httemplate/view/logo-agent.cgi
new file mode 100755
(executable)
index 0000000..
0f65414
--- /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>