/Web/thumb.php |
---|
8,7 → 8,13 |
} |
$path = "/var/www/Modules/".$HTTP_GET_VARS["pth"]."/"; |
if (file_exists($path.$HTTP_GET_VARS["fname"]."_Small.jpg")) { |
$filename = $HTTP_GET_VARS["fname"]."_Small.jpg"; |
} else { |
$filename = "nopicture2.jpg"; |
$path = "/var/www/Web/PIC/"; |
} |
// $thumbnail = thumbnail_name($filename); |
$extension = file_type($filename); |
$remove_thumb = false; |