You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
348 B
PHP
13 lines
348 B
PHP
<?php
|
|
|
|
/*
|
|
* Give the minimum allowed game client version. The client should check on
|
|
* startup and not continue if its version is less than the given version.
|
|
*/
|
|
|
|
require 'settings.php';
|
|
header('Content-Type: application/json');
|
|
header("Access-Control-Allow-Origin: *");
|
|
|
|
echo json_encode(["status" => "OK", "version" => MIN_CLIENT_VERSION]);
|