From 23b24f6adb289b6a7c1fe475c4068f2f99130ce7 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 7 Jun 2009 00:20:23 +0000 Subject: fixed minor issue with uploading png from IE7 --- lib/resize.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib') 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]; -- cgit v1.2.3