minclientversion.php 348 B

12345678910111213
  1. <?php
  2. /*
  3. * Give the minimum allowed game client version. The client should check on
  4. * startup and not continue if its version is less than the given version.
  5. */
  6. require 'settings.php';
  7. header('Content-Type: application/json');
  8. header("Access-Control-Allow-Origin: *");
  9. echo json_encode(["status" => "OK", "version" => MIN_CLIENT_VERSION]);