diff --git a/lib/upload.php b/lib/upload.php index 15a6bf9..3cb33c8 100644 --- a/lib/upload.php +++ b/lib/upload.php @@ -193,11 +193,12 @@ function fileExists(int $fileId, bool $onlyMine = true): bool|string $filePath = ""; $stmtfileexists->bind_result($filePath); $stmtfileexists->execute(); - echo "preco"; if ($stmtfileexists->num_rows > 0){ + echo "preco1"; return $filePath; } else { + echo "preco2"; return false; } }