|
|
@ -3,7 +3,7 @@
|
|
|
|
// Server Time API Module
|
|
|
|
// Server Time API Module
|
|
|
|
|
|
|
|
|
|
|
|
// Process client requested data
|
|
|
|
// Process client requested data
|
|
|
|
$data['server'] = $_POST['server'];
|
|
|
|
$data = $_POST['server'];
|
|
|
|
|
|
|
|
|
|
|
|
//debug tests
|
|
|
|
//debug tests
|
|
|
|
echo $_POST;
|
|
|
|
echo $_POST;
|
|
|
@ -11,9 +11,12 @@ echo '<br>';
|
|
|
|
echo $_POST['server'];
|
|
|
|
echo $_POST['server'];
|
|
|
|
echo '<br>';
|
|
|
|
echo '<br>';
|
|
|
|
echo $data['server'];
|
|
|
|
echo $data['server'];
|
|
|
|
|
|
|
|
echo '<br>';
|
|
|
|
|
|
|
|
echo $data;
|
|
|
|
|
|
|
|
echo '<br>';
|
|
|
|
|
|
|
|
|
|
|
|
// If client requested datetime for Rocknarok Universe (General Timezone).
|
|
|
|
// If client requested datetime for Rocknarok Universe (General Timezone).
|
|
|
|
if ($data['server'] == 'ru_general') {
|
|
|
|
if ($data == 'ru_general') {
|
|
|
|
|
|
|
|
|
|
|
|
// Set current datetime of Rocknarok Universe.
|
|
|
|
// Set current datetime of Rocknarok Universe.
|
|
|
|
$rutime=date_create();
|
|
|
|
$rutime=date_create();
|
|
|
|