26.1 beta 1 is out
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
require __DIR__ . '/../incl/util.php';
|
require __DIR__ . '/../incl/util.php';
|
||||||
setPlainHeader();
|
setPlainHeader();
|
||||||
echo getClientVersion() == "1.8.2" || getClientVersion() == "1.4.0-beta1" ? "1" : "2";
|
echo getClientVersion() == "1.4.0-beta1" ? "1" : "2";
|
||||||
@@ -1,4 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
require __DIR__ . '/../incl/util.php';
|
require __DIR__ . '/../incl/util.php';
|
||||||
setPlainHeader();
|
setPlainHeader();
|
||||||
echo "1.8.2";
|
|
||||||
|
$conn0 = newConnection(0);
|
||||||
|
|
||||||
|
$stmt = $conn0->prepare("SELECT downloadUrlVersion FROM launcherversionmanifest WHERE HIDDEN = 0 AND game = 1 ORDER BY place DESC LIMIT 1");
|
||||||
|
$stmt->execute();
|
||||||
|
$result = $stmt->get_result();
|
||||||
|
$stmt->close();
|
||||||
|
$row = $result->fetch_assoc();
|
||||||
|
$conn0->close();
|
||||||
|
|
||||||
|
echo $row["downloadUrlVersion"] ?? 'N/A';
|
||||||
Reference in New Issue
Block a user