Try changing some data names around

master
YandolsZX 3 years ago
parent 3de76ddb74
commit 58d687070d
  1. 6
      servertime.php

@ -3,12 +3,12 @@
// Server Time API Module // Server Time API Module
// Process client requested data // Process client requested data
$server = $_POST['server']; $data['server'] = $_POST['server'];
echo $server; //debug test echo $data['server']; //debug test
// If client requested datetime for Rocknarok Universe (General Timezone). // If client requested datetime for Rocknarok Universe (General Timezone).
if ($server='ru-general') { if ($data['server']='ru-general') {
// Set current datetime of Rocknarok Universe. // Set current datetime of Rocknarok Universe.
$rutime=date_create(); $rutime=date_create();

Loading…
Cancel
Save