1.4.x backport

This commit is contained in:
2025-10-08 09:59:26 -07:00
parent 8c13c24066
commit 9068227c72
12 changed files with 168 additions and 9 deletions

View File

@@ -1,6 +1,10 @@
<?php
require __DIR__ . '/../incl/util.php';
setPlainHeader();
if (getClientVersion() == "0" && isAllowedDatabaseVersion("1.4.0-beta1") && isAllowedDatabaseVersion("1.4.0") && isAllowedDatabaseVersion("1.4.1")) {
require __DIR__ . '/backported/1.4.0-beta1/getTopPlayers.php';
exit;
}
if (isAllowedDatabaseVersion(getClientVersion())) {
if (getClientVersion() == "1.3-beta2" || getClientVersion() == "1.3" || getClientVersion() == "1.33") {
require __DIR__ . '/backported/1.3-beta2/getTopPlayers.php';