From a5107d0301c5cf3d24d88ffdf0bc2513a9ef0f90 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Mon, 25 Apr 2016 03:08:19 +0200 Subject: [PATCH] Added html mimetype for media files --- src/View.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/View.php b/src/View.php index 4d2e105..b54b51f 100644 --- a/src/View.php +++ b/src/View.php @@ -519,6 +519,12 @@ class View { $type_mime='image/jpg'; break; + + case 'html': + + $type_mime='text/html'; + + break; }