Fix site being unable to find world backups
This commit is contained in:
parent
0d4cf0c186
commit
00c860a237
@ -47,7 +47,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")) {
|
if (file_exists("../files/packs/$pack/worlds")) {
|
||||||
echo "<p><a href=\"/files/packs/$pack/worlds\" class=\"worldsbutton\">Browse world backups</a></p>";
|
echo "<p><a href=\"/files/packs/$pack/worlds\" class=\"worldsbutton\">Browse world backups</a></p>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user