X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.class.php;h=094746c0bef16097794697aed7675794b650cafd;hp=97deb968dacb5b6b98dd967d73a379480f4bf21d;hb=43071ed9b32e3368aae01852abd70fa6b3afd877;hpb=4552617dca9f593137d6785ccd67c6a421df232f diff --git a/phpfspot.class.php b/phpfspot.class.php index 97deb96..094746c 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -2620,12 +2620,12 @@ class PHPFSPOT { pt.tag_id LIKE '". $tagidx ."' "; - if(isset($this->cfg->show_tags) && !empty($this->cfg->show_tags)) { + /*if(isset($this->cfg->show_tags) && !empty($this->cfg->show_tags)) { $query_str.= " AND t.name IN ('".implode("','",$this->cfg->show_tags)."') "; - } + }*/ $result = $this->db->db_query($query_str); @@ -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.