MEME
This commit is contained in:
parent
e5e4ff8b51
commit
cf0d3990c7
@ -133,10 +133,8 @@ function parseIncomingFiles(): array
|
||||
if ($incomingFile["error"] == 0 && is_file($incomingFile["tmp_name"])) {
|
||||
$type = explode("/", $incomingFile["type"]);
|
||||
if ($type[0] == "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;
|
||||
|
Loading…
Reference in New Issue
Block a user