projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
starting to work...
[freeside.git]
/
rt
/
share
/
html
/
NoAuth
/
css
/
autohandler
diff --git
a/rt/share/html/NoAuth/css/autohandler
b/rt/share/html/NoAuth/css/autohandler
index
dabe704
..
c083444
100644
(file)
--- a/
rt/share/html/NoAuth/css/autohandler
+++ b/
rt/share/html/NoAuth/css/autohandler
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-48,9
+48,15
@@
<%init>
my $file = $m->base_comp->source_file;
<%init>
my $file = $m->base_comp->source_file;
-if ($file =~ /\.(gif|png|jpe?g)$/i) {
+if ($file =~ /\.(
?:
gif|png|jpe?g)$/i) {
my $relfile = $m->base_comp->path;
RT::Interface::Web->SendStaticFile( File => $file, RelativeFile => $relfile );
my $relfile = $m->base_comp->path;
RT::Interface::Web->SendStaticFile( File => $file, RelativeFile => $relfile );
+}
+elsif ($file =~ /\.(?:htc)$/i) {
+ RT::Interface::Web::StaticFileHeaders();
+ $r->content_type('text/x-component') ;
+ $m->call_next();
+ return();
} else {
RT::Interface::Web::StaticFileHeaders();
$r->content_type('text/css') ;
} else {
RT::Interface::Web::StaticFileHeaders();
$r->content_type('text/css') ;