blob: 7abf8b89e5db270d123d89b1f61bf11a49cc9536 (
plain)
1
2
3
4
5
6
7
8
|
<%INIT>
# This autohandler will spit out RT's images if the user hasn't
# properly configured their webserver to stop RT from passing
# images through the mason handler.
my $file = $m->base_comp->source_file;
my $relfile = $m->base_comp->path;
RT::Interface::Web->SendStaticFile( File => $file, RelativeFile => $relfile );
</%INIT>
|