This commit is contained in:
Lee
2023-04-15 15:02:44 +01:00
parent 478518ee59
commit e621a7e5b8
4 changed files with 54 additions and 40 deletions

View File

@ -40,4 +40,6 @@ if (!move_uploaded_file($file, $target_file)) {
echo "There was an error uploading the file";
die();
}
echo "The file https://wip.fascinated.cc/maps/" . $mapId . ".zip has been uploaded.";
// redirect to /?map=https://wip.fascinated.cc/maps/" . $mapId . ".zip
header("Location: /?map=https://wip.fascinated.cc/maps/" . $mapId . ".zip");