mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Changing the order for comparisson checking on some types, when looking for a mime type
This commit is contained in:
parent
87eb1ec697
commit
040740c05d
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ class CakeResponse {
|
||||||
'ico' => 'image/vnd.microsoft.icon',
|
'ico' => 'image/vnd.microsoft.icon',
|
||||||
'ips' => 'application/x-ipscript',
|
'ips' => 'application/x-ipscript',
|
||||||
'ipx' => 'application/x-ipix',
|
'ipx' => 'application/x-ipix',
|
||||||
'js' => 'application/x-javascript',
|
'js' => 'text/javascript',
|
||||||
'latex' => 'application/x-latex',
|
'latex' => 'application/x-latex',
|
||||||
'lha' => 'application/octet-stream',
|
'lha' => 'application/octet-stream',
|
||||||
'lsp' => 'application/x-lisp',
|
'lsp' => 'application/x-lisp',
|
||||||
|
@ -196,8 +196,8 @@ class CakeResponse {
|
||||||
'f90' => 'text/plain',
|
'f90' => 'text/plain',
|
||||||
'h' => 'text/plain',
|
'h' => 'text/plain',
|
||||||
'hh' => 'text/plain',
|
'hh' => 'text/plain',
|
||||||
'htm' => array('text/html', '*/*'),
|
|
||||||
'html' => array('text/html', '*/*'),
|
'html' => array('text/html', '*/*'),
|
||||||
|
'htm' => array('text/html', '*/*'),
|
||||||
'm' => 'text/plain',
|
'm' => 'text/plain',
|
||||||
'rtf' => 'text/rtf',
|
'rtf' => 'text/rtf',
|
||||||
'rtx' => 'text/richtext',
|
'rtx' => 'text/richtext',
|
||||||
|
|
Loading…
Reference in a new issue