summaryrefslogtreecommitdiff
path: root/httemplate/view/REAL_logo.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/REAL_logo.cgi')
-rwxr-xr-xhttemplate/view/REAL_logo.cgi14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/view/REAL_logo.cgi b/httemplate/view/REAL_logo.cgi
new file mode 100755
index 0000000..c269c7d
--- /dev/null
+++ b/httemplate/view/REAL_logo.cgi
@@ -0,0 +1,14 @@
+<% $conf->config_binary("logo.png", $agentnum) %>
+<%init>
+
+my $conf = new FS::Conf;
+
+my $agentnum = '';
+my @agentnums = $FS::CurrentUser::CurrentUser->agentnums;
+if ( scalar(@agentnums) == 1 ) {
+ $agentnum = $agentnums[0];
+}
+
+http_header('Content-Type' => 'image/png' );
+
+</%init>