+my $style = $session{'CurrentUser'}
+ ? $session{'CurrentUser'}->Stylesheet
+ : RT->Config->Get('WebDefaultStylesheet');
+
+my @css_files;
+if ( RT->Config->Get('DevelMode') ) {
+ @css_files = ( "$style/main.css", RT->Config->Get('CSSFiles' ) );
+}
+else {
+ my $key =
+ RT::Interface::Web::SquishedCSS( $style )->Key;
+ @css_files = "$style-squished-$key.css";
+}
+