git-svn-id: https://msi/svn/firstRepo/Service/branches/Manut_2.2.3@50 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-01-18 17:07:24 +00:00
parent 0f64cd747d
commit 89bb1a17d7
4 changed files with 31 additions and 8 deletions
+3 -3
View File
@@ -12,12 +12,12 @@ $app->get('/photo/thumbnail/:imageID(/:createImgTag)', function ($imageID, $crea
$mysqlconnetion->disconnetti();
$ext = "";
if ($retObj["type_format"] == "image/jpeg") {
$ext = "png";
/*if ($retObj["type_format"] == "image/jpeg") {
$ext = "jpeg";
} else if ($retObj["type_format"] == "image/png") {
$ext = "png";
}
}*/
$folder = $dirRicetteDropBox . "/" . $retObj["id_ricette"];