Fix PHP5.4+ syntax.

2.x must be compatible with PHP 5.3
This commit is contained in:
mark_story 2016-03-23 21:19:19 -04:00
parent c0a5d2b341
commit a0ea7a0f2a

View file

@ -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',