22 lines
No EOL
448 B
PHP
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));
|
|
}
|
|
|
|
?>
|