Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
Updating RequestListener to set additional format for SVG files
Browse files Browse the repository at this point in the history
  • Loading branch information
inssein committed Oct 22, 2014
1 parent 90ea7fb commit 63289b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EventListener/RequestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ public function onKernelRequest(GetResponseEvent $event)
$request->setFormat('png', 'image/png');
$request->setFormat('jpg', 'image/jpeg');
$request->setFormat('gif', 'image/gif');
$request->setFormat('svg', 'image/svg+xml');
}
}

0 comments on commit 63289b5

Please sign in to comment.