From ed8c8f1c29755fed11550a87419d7845d1c8a6ea Mon Sep 17 00:00:00 2001 From: Max Voronov Date: Tue, 26 May 2015 14:02:56 +0300 Subject: [PATCH] Fixed bug uppercase image extensions --- src/View/Strategy/ImageStrategy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View/Strategy/ImageStrategy.php b/src/View/Strategy/ImageStrategy.php index ae7c972..118862c 100644 --- a/src/View/Strategy/ImageStrategy.php +++ b/src/View/Strategy/ImageStrategy.php @@ -118,7 +118,7 @@ protected function getMimeType($format) 'wbmp' => 'image/vnd.wap.wbmp', 'xbm' => 'image/xbm', ); - + $format = strtolower($format); return $mimeTypes[$format]; } }