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=43071ed9b32e3368aae01852abd70fa6b3afd877;hpb=44eee10cd3501fe7bc9d3dec5bfe8b919f6dc81f 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.