From 06546124c29dae97b5346e444fa327fc2076e44f Mon Sep 17 00:00:00 2001 From: George Petculescu Date: Sun, 27 May 2018 00:09:18 +0300 Subject: 7zip mime type renaming 7zip to 7z extension and adding one more mime id to it --- application/config/mimes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/config/mimes.php b/application/config/mimes.php index 017653335..c2a30d368 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -155,7 +155,7 @@ return array( 'ics' => 'text/calendar', 'ical' => 'text/calendar', 'zsh' => 'text/x-scriptzsh', - '7zip' => array('application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), + '7z' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), 'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'), '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'), -- cgit v1.2.3-24-g4f1b From 8eeb1a88eba76e6d4ed87a7a72a2272c27a1eeb4 Mon Sep 17 00:00:00 2001 From: George Petculescu Date: Fri, 1 Jun 2018 21:10:10 +0300 Subject: Adding 7zip extension to mimes.php Adding 7zip extension back as BC safety measure --- application/config/mimes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/config/mimes.php b/application/config/mimes.php index c2a30d368..0ec9db0a0 100644 --- a/application/config/mimes.php +++ b/application/config/mimes.php @@ -156,6 +156,7 @@ return array( 'ical' => 'text/calendar', 'zsh' => 'text/x-scriptzsh', '7z' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), + '7zip' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'), 'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'), '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'), -- cgit v1.2.3-24-g4f1b