From 801fa75045252c54653a71ce8e36553186d2a492 Mon Sep 17 00:00:00 2001 From: Intekhab Rizvi Date: Fri, 1 May 2015 13:00:56 +0530 Subject: MIMES : added new mime type for 3gp based video file upload --- application/config/mimes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/mimes.php') diff --git a/application/config/mimes.php b/application/config/mimes.php index 8eff4d2d5..bb4b67982 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -127,7 +127,7 @@ return array( 'rsa' => 'application/x-pkcs7', 'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'), '3g2' => 'video/3gpp2', - '3gp' => 'video/3gp', + '3gp' => array('video/3gp','video/3gpp'), 'mp4' => 'video/mp4', 'm4a' => 'audio/x-m4a', 'f4v' => 'video/mp4', -- cgit v1.2.3-24-g4f1b From 66553a0d117e4e2a2692a3a89a605ab2424f199f Mon Sep 17 00:00:00 2001 From: Intekhab Rizvi Date: Fri, 1 May 2015 15:08:02 +0530 Subject: MIMES : added new mime type for 3gp based video file upload, added space between array --- application/config/mimes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config/mimes.php') diff --git a/application/config/mimes.php b/application/config/mimes.php index bb4b67982..98a6fde97 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -127,7 +127,7 @@ return array( 'rsa' => 'application/x-pkcs7', 'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'), '3g2' => 'video/3gpp2', - '3gp' => array('video/3gp','video/3gpp'), + '3gp' => array('video/3gp', 'video/3gpp'), 'mp4' => 'video/mp4', 'm4a' => 'audio/x-m4a', 'f4v' => 'video/mp4', -- cgit v1.2.3-24-g4f1b From d929a80c7bf0ce5f0441a7975cffa48258820029 Mon Sep 17 00:00:00 2001 From: Ahmad Anbar Date: Sun, 17 May 2015 13:23:33 +0300 Subject: Added subtitles mime types. --- application/config/mimes.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'application/config/mimes.php') diff --git a/application/config/mimes.php b/application/config/mimes.php index 98a6fde97..78d8e53e3 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -152,5 +152,7 @@ return array( 'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'), 'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'), 'svg' => array('image/svg+xml', 'application/xml', 'text/xml'), - 'vcf' => 'text/x-vcard' + 'vcf' => 'text/x-vcard', + 'srt' => array('text/srt', 'text/plain'), + 'vtt' => array('text/vtt', 'text/plain') ); -- cgit v1.2.3-24-g4f1b