diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-07 00:20:23 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-07 00:20:23 +0000 |
commit | 23b24f6adb289b6a7c1fe475c4068f2f99130ce7 (patch) | |
tree | 24126dec01fa0fc9c7f6724050bb8ea6a3e912d9 /lib/resize.php | |
parent | 39f644c75a545249a2cdaa490b5beb58795529a3 (diff) | |
download | elgg-23b24f6adb289b6a7c1fe475c4068f2f99130ce7.tar.gz elgg-23b24f6adb289b6a7c1fe475c4068f2f99130ce7.tar.bz2 |
fixed minor issue with uploading png from IE7
Diffstat (limited to 'lib/resize.php')
-rw-r--r-- | lib/resize.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/resize.php b/lib/resize.php index e3facf614..974f32e9e 100644 --- a/lib/resize.php +++ b/lib/resize.php @@ -277,15 +277,6 @@ if (!$imgsizearray)
return false;
- $accepted_formats = array(
- 'image/jpeg' => 'jpeg',
- 'image/png' => 'png',
- 'image/gif' => 'gif'
- );
-
- // test if it's a file we can manipulate ...
- if (!array_key_exists($imgsizearray['mime'],$accepted_formats))
- return false;
// Get width and height
$width = $imgsizearray[0];
|