video file type
This commit is contained in:
@@ -207,6 +207,7 @@ class WrenchMedia extends BaseController
|
||||
case "jpeg":
|
||||
case "jpg": $ctype="image/jpeg"; break;
|
||||
case "svg": $ctype="image/svg+xml"; break;
|
||||
case "mp4": $ctype="video/mp4"; break;
|
||||
default:
|
||||
}
|
||||
header('Content-type: ' . $ctype);
|
||||
|
||||
Reference in New Issue
Block a user