ZontreckWebsite/php/SetupCheck.php
2024-05-16 02:03:39 -07:00

22 lines
No EOL
448 B
PHP

<?php
if(!defined("COMMON"))
require("Common.php");
if(!defined("DB_NAME") && !defined("DB_PASS")) {
$ret = array (
"done" => false,
"type" => "S2CSimpleReply"
);
header("X-Zontreck-Setup-Completed", "FALSE");
die(json_encode($ret));
}else {
$ret = array (
"done" => true,
"type" => "S2CSimpleReply"
);
header("X-Zontreck-Setup-Completed", "TRUE");
die(json_encode($ret));
}
?>