Always display a link to world backups on srv.9iron.club

This commit is contained in:
Salt 2021-05-14 10:15:14 -05:00
parent 2fc1547401
commit daa8d41b43

View File

@ -41,9 +41,7 @@ function echo_pack($pack) {
echo "$desc"; echo "$desc";
# A small button to browse previous world downloads # A small button to browse previous world downloads
if (file_exists("../files/packs/$pack/worlds")) {
echo "<p><a href=\"https://srv.9iron.club/files/packs/$pack/worlds\" class=\"worldsbutton\">Browse world backups</a></p>"; echo "<p><a href=\"https://srv.9iron.club/files/packs/$pack/worlds\" class=\"worldsbutton\">Browse world backups</a></p>";
}
# And a bright big download button # And a bright big download button
echo "<a href=\"https://srv.9iron.club/files/packs/$pack/latest.zip\" class=\"downloadbutton\">Download</a>"; echo "<a href=\"https://srv.9iron.club/files/packs/$pack/latest.zip\" class=\"downloadbutton\">Download</a>";