StyleSheet: Modify send method to use setContentType of Response class

refs #12161
This commit is contained in:
Noah Hilverling 2016-10-17 08:29:51 +02:00
parent af5c578adf
commit 4df9696ed9
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class StyleSheet
$response
->setHeader('Cache-Control', 'public', true)
->setHeader('ETag', $etag, true)
->setHeader('Content-Type', 'text/css', true);
->setContentType('text/css');
$cacheFile = 'icinga-' . $etag . ($minified ? '.min' : '') . '.css';
$cache = FileCache::instance();