per-customer RADIUS data usage report, #42310
[freeside.git] / httemplate / view / sector_map-png.cgi
1 <%init>
2 my ($sectornum) = $cgi->keywords;
3 my $sector = FS::tower_sector->by_key($sectornum);
4 if ( $sector and length($sector->image) > 0 ) {
5   http_header('Content-Type', 'image/png');
6   $m->print($sector->image);
7 }
8 </%init>