diff --git a/lib/upload.php b/lib/upload.php index 6c7aa5d..6cd2b9a 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -134,8 +134,10 @@ function parseIncomingFiles(): array if ($incomingFile["error"] == 0 && is_file($incomingFile["tmp_name"])) { $type = explode("/", $incomingFile["type"]); if ($type == "image") { + echo "Adding " . $incomingFile["name"]; $imgFname = pathinfo($incomingFile["name"], PATHINFO_FILENAME); $uploadPath = getUploadPath("image", $imgFname); + echo "uppa " . $uploadPath; if (!empty($uploadPath)) { if (!doImageUpload($incomingFile["tmp_name"], $uploadPath)) { $success = false;