summaryrefslogtreecommitdiff
path: root/rt/share/html/NoAuth/css/autohandler
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/NoAuth/css/autohandler')
-rw-r--r--rt/share/html/NoAuth/css/autohandler3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/share/html/NoAuth/css/autohandler b/rt/share/html/NoAuth/css/autohandler
index a92cfd1..f11f78a 100644
--- a/rt/share/html/NoAuth/css/autohandler
+++ b/rt/share/html/NoAuth/css/autohandler
@@ -49,7 +49,8 @@
my $file = $m->base_comp->source_file;
if ($file =~ /\.(gif|png|jpe?g)$/i) {
- RT::Interface::Web->SendStaticFile( File => $file );
+ my $relfile = $m->base_comp->path;
+ RT::Interface::Web->SendStaticFile( File => $file, RelativeFile => $relfile );
} else {
RT::Interface::Web::StaticFileHeaders();
$r->content_type('text/css') ;