Add API keys and server list api

This commit is contained in:
marc-go
2026-02-18 15:05:34 +01:00
parent 75899064c5
commit 4b4a46225f
5 changed files with 118 additions and 2 deletions

View File

@@ -1,4 +1,14 @@
<?php
foreach ($_SERVER as $key => $value) {
ini_set("display_errors", 1);
ini_set("display_startup_errors", 1);
error_reporting(E_ALL);
/*foreach ($_SERVER as $key => $value) {
echo $key . " = " . $value . "<br>";
}
}*/
require "../main.php";
$mcServ = new mcServ();
echo $mcServ->checkApiAuth() ? "TRUE" : "FALSE";