mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix PHP5.4+ syntax.
2.x must be compatible with PHP 5.3
This commit is contained in:
parent
c0a5d2b341
commit
a0ea7a0f2a
1 changed files with 8 additions and 1 deletions
|
@ -265,7 +265,14 @@ class CakeResponse {
|
|||
'xbm' => 'image/x-xbitmap',
|
||||
'xpm' => 'image/x-xpixmap',
|
||||
'xwd' => 'image/x-xwindowdump',
|
||||
'psd' => ['application/photoshop', 'application/psd', 'image/psd', 'image/x-photoshop', 'image/photoshop', 'zz-application/zz-winassoc-psd'],
|
||||
'psd' => array(
|
||||
'application/photoshop',
|
||||
'application/psd',
|
||||
'image/psd',
|
||||
'image/x-photoshop',
|
||||
'image/photoshop',
|
||||
'zz-application/zz-winassoc-psd'
|
||||
),
|
||||
'ice' => 'x-conference/x-cooltalk',
|
||||
'iges' => 'model/iges',
|
||||
'igs' => 'model/iges',
|
||||
|
|
Loading…
Reference in a new issue