123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542 |
- <?php
- //----------------------------------------------------------------------------------------------------
- // MIME TYPES
- //----------------------------------------------------------------------------------------------------
- //
- // Author : Ozan UYKUN <ozanbote@windowslive.com> | <ozanbote@gmail.com>
- // Site : www.znframework.com
- // License : The MIT License
- // Copyright : Copyright (c) 2012-2016, ZN Framework
- //
- //----------------------------------------------------------------------------------------------------
- //----------------------------------------------------------------------------------------------------
- // Mime Types
- //----------------------------------------------------------------------------------------------------
- //
- // Genel Kullanım: Mime türleri listesidir.
- //
- //----------------------------------------------------------------------------------------------------
- $config['MimeTypes'] =
- [
- // A ---------------------------------------------------------------------------------------------
- 'aac' => 'audio/x-acc',
- 'ac3' => 'audio/ac3',
- 'ai' =>
- [
- 'application/pdf',
- 'application/postscript'
- ],
- 'aifc' => 'audio/x-aiff',
- 'aif' =>
- [
- 'audio/x-aiff',
- 'audio/aiff'
- ],
- 'aiff' =>
- [
- 'audio/x-aiff',
- 'audio/aiff'
- ],
- 'au' => 'audio/x-au',
- 'avi' =>
- [
- 'video/x-msvideo',
- 'video/msvideo',
- 'video/avi',
- 'application/x-troff-msvideo'
- ],
- // A ---------------------------------------------------------------------------------------------
-
- // B ---------------------------------------------------------------------------------------------
- 'bin' =>
- [
- 'application/macbinary',
- 'application/mac-binary',
- 'application/octet-stream',
- 'application/x-binary',
- 'application/x-macbinary'
- ],
- 'bmp' =>
- [
- 'image/bmp',
- 'image/x-bmp',
- 'image/x-bitmap',
- 'image/x-xbitmap',
- 'image/x-win-bitmap',
- 'image/x-windows-bmp',
- 'image/ms-bmp',
- 'image/x-ms-bmp',
- 'application/bmp',
- 'application/x-bmp',
- 'application/x-win-bitmap'
- ],
- // B ---------------------------------------------------------------------------------------------
-
- // C ---------------------------------------------------------------------------------------------
- 'cdr' =>
- [
- 'application/cdr',
- 'application/coreldraw',
- 'application/x-cdr',
- 'application/x-coreldraw',
- 'image/cdr',
- 'image/x-cdr',
- 'zz-application/zz-winassoc-cdr'
- ],
- 'cer' =>
- [
- 'application/pkix-cert',
- 'application/x-x509-ca-cert'
- ],
- 'class' => 'application/octet-stream',
- 'cpt' => 'application/mac-compactpro',
- 'crl' =>
- [
- 'application/pkix-crl',
- 'application/pkcs-crl'
- ],
- 'crt' =>
- [
- 'application/x-x509-ca-cert',
- 'application/x-x509-user-cert',
- 'application/pkix-cert'
- ],
- 'csr' => 'application/octet-stream',
- 'css' =>
- [
- 'text/css',
- 'text/plain'
- ],
- 'csv' =>
- [
- 'text/x-comma-separated-values',
- 'text/comma-separated-values',
- 'application/octet-stream',
- 'application/vnd.ms-excel',
- 'application/x-csv',
- 'text/x-csv',
- 'text/csv',
- 'application/csv',
- 'application/excel',
- 'application/vnd.msexcel',
- 'text/plain'
- ],
- // C ---------------------------------------------------------------------------------------------
-
- // D ---------------------------------------------------------------------------------------------
- 'dcr' => 'application/x-director',
- 'der' => 'application/x-x509-ca-cert',
- 'dir' => 'application/x-director',
- 'dll' => 'application/octet-stream',
- 'dms' => 'application/octet-stream',
- 'doc' =>
- [
- 'application/msword',
- 'application/vnd.ms-office'
- ],
- 'docx' =>
- [
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
- 'application/zip',
- 'application/msword',
- 'application/x-zip'
- ],
- 'dot' =>
- [
- 'application/msword',
- 'application/vnd.ms-office'
- ],
- 'dotx' =>
- [
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
- 'application/zip',
- 'application/msword'
- ],
- 'dvi' => 'application/x-dvi',
- 'dxr' => 'application/x-director',
- // D ---------------------------------------------------------------------------------------------
-
- // E ---------------------------------------------------------------------------------------------
- 'eml' => 'message/rfc822',
- 'eps' => 'application/postscript',
- 'exe' =>
- [
- 'application/octet-stream',
- 'application/x-msdownload'
- ],
- // E ---------------------------------------------------------------------------------------------
-
- // F ---------------------------------------------------------------------------------------------
- 'flac' => 'audio/x-flac',
- 'f4v' => 'video/mp4',
- // F ---------------------------------------------------------------------------------------------
-
- // G ---------------------------------------------------------------------------------------------
- 'gif' => 'image/gif',
- 'gpg' => 'application/gpg-keys',
- 'gtar' => 'application/x-gtar',
- 'gz' => 'application/x-gzip',
- 'gzip' => 'application/x-gzip',
- // G ---------------------------------------------------------------------------------------------
-
- // H ---------------------------------------------------------------------------------------------
- 'hqx' =>
- [
- 'application/mac-binhex40',
- 'application/mac-binhex',
- 'application/x-binhex40',
- 'application/x-mac-binhex40'
- ],
- 'htm' =>
- [
- 'text/html',
- 'text/plain'
- ],
- 'html' =>
- [
- 'text/html',
- 'text/plain'
- ],
- // H ---------------------------------------------------------------------------------------------
-
- // I ---------------------------------------------------------------------------------------------
- 'ical' => 'text/calendar',
- 'ico' => 'image/x-icon',
- 'ics' => 'text/calendar',
- // I ---------------------------------------------------------------------------------------------
-
- // J ---------------------------------------------------------------------------------------------
- 'jar' =>
- [
- 'application/java-archive',
- 'application/x-java-application',
- 'application/x-jar',
- 'application/x-compressed'
- ],
- 'jpe' =>
- [
- 'image/jpeg',
- 'image/pjpeg'
- ],
- 'jpeg' =>
- [
- 'image/jpeg',
- 'image/pjpeg'
- ],
- 'jpg' =>
- [
- 'image/jpeg',
- 'image/pjpeg'
- ],
-
- 'js' =>
- [
- 'application/x-javascript',
- 'text/plain'
- ],
- 'json' =>
- [
- 'application/json',
- 'text/json'
- ],
- // J ---------------------------------------------------------------------------------------------
-
- // L ---------------------------------------------------------------------------------------------
- 'lha' => 'application/octet-stream',
- 'log' =>
- [
- 'text/plain',
- 'text/x-log'
- ],
- 'lzh' => 'application/octet-stream',
- // L ---------------------------------------------------------------------------------------------
-
- // K ---------------------------------------------------------------------------------------------
- 'kdb' => 'application/octet-stream',
- 'kml' =>
- [
- 'application/vnd.google-earth.kml+xml',
- 'application/xml',
- 'text/xml'
- ],
- 'kmz' =>
- [
- 'application/vnd.google-earth.kmz',
- 'application/zip',
- 'application/x-zip'
- ],
- // K ---------------------------------------------------------------------------------------------
-
- // M ---------------------------------------------------------------------------------------------
- 'mid' => 'audio/midi',
- 'midi' => 'audio/midi',
- 'mif' => 'application/vnd.mif',
- 'mov' => 'video/quicktime',
- 'movie' => 'video/x-sgi-movie',
- 'mpe' => 'video/mpeg',
- 'mpeg' => 'video/mpeg',
- 'mpg' => 'video/mpeg',
- 'mpga' => 'audio/mpeg',
- 'mp2' => 'audio/mpeg',
- 'mp3' =>
- [
- 'audio/mpeg',
- 'audio/mpg',
- 'audio/mpeg3',
- 'audio/mp3'
- ],
- 'mp4' => 'video/mp4',
- 'm3u' => 'text/plain',
- 'm4a' => 'audio/x-m4a',
- 'm4u' => 'application/vnd.mpegurl',
- // M ---------------------------------------------------------------------------------------------
-
- // O ---------------------------------------------------------------------------------------------
- 'oda' => 'application/oda',
- 'ogg' => 'audio/ogg',
- // O ---------------------------------------------------------------------------------------------
-
- // P ---------------------------------------------------------------------------------------------
- 'pdf' =>
- [
- 'application/pdf',
- 'application/force-download',
- 'application/x-download',
- 'binary/octet-stream'
- ],
- 'pem' =>
- [
- 'application/x-x509-user-cert',
- 'application/x-pem-file',
- 'application/octet-stream'
- ],
- 'pgp' => 'application/pgp',
- 'php' =>
- [
- 'application/x-httpd-php',
- 'application/php',
- 'application/x-php',
- 'text/php', 'text/x-php',
- 'application/x-httpd-php-source'
- ],
- 'phps' => 'application/x-httpd-php-source',
- 'php3' => 'application/x-httpd-php',
- 'php4' => 'application/x-httpd-php',
- 'phtml' => 'application/x-httpd-php',
- 'png' =>
- [
- 'image/png',
- 'image/x-png'
- ],
- 'ppt' =>
- [
- 'application/powerpoint',
- 'application/vnd.ms-powerpoint',
- 'application/vnd.ms-office',
- 'application/msword'
- ],
- 'pptx' =>
- [
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
- 'application/x-zip',
- 'application/zip'
- ],
- 'ps' => 'application/postscript',
- 'psd' =>
- [
- 'application/x-photoshop',
- 'image/vnd.adobe.photoshop'
- ],
- 'p10' =>
- [
- 'application/x-pkcs10',
- 'application/pkcs10'
- ],
- 'p12' => 'application/x-pkcs12',
- 'p7a' => 'application/x-pkcs7-signature',
- 'p7c' =>
- [
- 'application/pkcs7-mime',
- 'application/x-pkcs7-mime'
- ],
- 'p7m' =>
- [
- 'application/pkcs7-mime',
- 'application/x-pkcs7-mime'
- ],
- 'p7r' => 'application/x-pkcs7-certreqresp',
- 'p7s' => 'application/pkcs7-signature',
- // P ---------------------------------------------------------------------------------------------
-
- // Q ---------------------------------------------------------------------------------------------
- 'qt' => 'video/quicktime',
- // Q ---------------------------------------------------------------------------------------------
-
- // R ---------------------------------------------------------------------------------------------
- 'ra' => 'audio/x-realaudio',
- 'ram' => 'audio/x-pn-realaudio',
- 'rar' =>
- [
- 'application/x-rar',
- 'application/rar',
- 'application/x-rar-compressed'
- ],
- 'rm' => 'audio/x-pn-realaudio',
- 'rpm' => 'audio/x-pn-realaudio-plugin',
- 'rsa' => 'application/x-pkcs7',
- 'rtf' => 'text/rtf',
- 'rtx' => 'text/richtext',
- 'rv' => 'video/vnd.rn-realvideo',
- // R ---------------------------------------------------------------------------------------------
-
- // S ---------------------------------------------------------------------------------------------
- 'sea' => 'application/octet-stream',
- 'shtml' =>
- [
- 'text/html',
- 'text/plain'
- ],
- 'sit' => 'application/x-stuffit',
- 'smi' => 'application/smil',
- 'smil' => 'application/smil',
- 'so' => 'application/octet-stream',
- 'srt' =>
- [
- 'text/srt',
- 'text/plain'
- ],
- 'sst' => 'application/octet-stream',
- 'svg' =>
- [
- 'image/svg+xml',
- 'application/xml',
- 'text/xml'
- ],
- 'swf' => 'application/x-shockwave-flash',
- // S ---------------------------------------------------------------------------------------------
-
- // T ---------------------------------------------------------------------------------------------
- 'tar' => 'application/x-tar',
- 'text' => 'text/plain',
- 'tgz' =>
- [
- 'application/x-tar',
- 'application/x-gzip-compressed'
- ],
- 'tif' => 'image/tiff',
- 'tiff' => 'image/tiff',
- 'txt' => 'text/plain',
- // T ---------------------------------------------------------------------------------------------
-
- // V ---------------------------------------------------------------------------------------------
- 'vcf' => 'text/x-vcard',
- 'vlc' => 'application/videolan',
- 'vtt' =>
- [
- 'text/vtt',
- 'text/plain'
- ],
- // V ---------------------------------------------------------------------------------------------
-
- // W ---------------------------------------------------------------------------------------------
- 'wav' =>
- [
- 'audio/x-wav',
- 'audio/wave',
- 'audio/wav'
- ],
- 'wbxml' => 'application/wbxml',
- 'webm' => 'video/webm',
- 'wma' =>
- [
- 'audio/x-ms-wma',
- 'video/x-ms-asf'
- ],
- 'wmlc' => 'application/wmlc',
- 'wmv' =>
- [
- 'video/x-ms-wmv',
- 'video/x-ms-asf'
- ],
- 'word' =>
- [
- 'application/msword',
- 'application/octet-stream'
- ],
- // W ---------------------------------------------------------------------------------------------
-
- // X ---------------------------------------------------------------------------------------------
- 'xht' => 'application/xhtml+xml',
- 'xhtml' => 'application/xhtml+xml',
- 'xl' => 'application/excel',
- 'xls' =>
- [
- 'application/vnd.ms-excel',
- 'application/msexcel',
- 'application/x-msexcel',
- 'application/x-ms-excel',
- 'application/x-excel',
- 'application/x-dos_ms_excel',
- 'application/xls',
- 'application/x-xls',
- 'application/excel',
- 'application/download',
- 'application/vnd.ms-office',
- 'application/msword'
- ],
- 'xlsx' =>
- [
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
- 'application/zip',
- 'application/vnd.ms-excel',
- 'application/msword',
- 'application/x-zip'
- ],
- 'xml' =>
- [
- 'application/xml',
- 'text/xml',
- 'text/plain'
- ],
- 'xsl' =>
- [
- 'application/xml',
- 'text/xsl',
- 'text/xml'
- ],
- 'xspf' => 'application/xspf+xml',
- // X ---------------------------------------------------------------------------------------------
-
- // Z ---------------------------------------------------------------------------------------------
- 'z' => 'application/x-compress',
- 'zip' =>
- [
- 'application/x-zip',
- 'application/zip',
- 'application/x-zip-compressed',
- 'application/s-compressed',
- 'multipart/x-zip'
- ],
- 'zsh' => 'text/x-scriptzsh',
- // Z ---------------------------------------------------------------------------------------------
-
- // 3 ---------------------------------------------------------------------------------------------
- '3gp' =>
- [
- 'video/3gp',
- 'video/3gpp'
- ],
- '3g2' => 'video/3gpp2',
- // 3 ---------------------------------------------------------------------------------------------
- // 7 ---------------------------------------------------------------------------------------------
- '7zip' =>
- [
- 'application/x-compressed',
- 'application/x-zip-compressed',
- 'application/zip',
- 'multipart/x-zip'
- ]
- // 7 ---------------------------------------------------------------------------------------------
- ];
|