X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=094746c0bef16097794697aed7675794b650cafd;hp=943c57af1b4a4e9659aff17f32efd3601dccf8c0;hb=4dbea8ece530c8bbf16e9e70f7cd0b3ad0ebe3fc;hpb=9afd4d537cf5d6fde7e06c3a3c9d931f04661653 diff --git a/phpfspot.class.php b/phpfspot.class.php index 943c57a..094746c 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -3004,7 +3004,7 @@ class PHPFSPOT { */ public function get_mime_info($file) { - $details = getimagesize($orig_image); + $details = getimagesize($file); /* if getimagesize() returns empty, try at least to find out the mime type.