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