diff --git a/results/json.php b/results/json.php index 9730d209d..1e87e8e07 100755 --- a/results/json.php +++ b/results/json.php @@ -1,5 +1,8 @@ $speedtest['timestamp'],'download'=>$speedtest['dl'],'upload'=>$speedtest['ul'],'ping'=>$speedtest['ping'],'jitter'=>$speedtest['jitter'],'ispinfo'=>$speedtest['ispinfo'])); } -$speedtest = formatSpeedtestData($speedtest); - -echo json_encode(array('timestamp'=>$speedtest['timestamp'],'download'=>$speedtest['dl'],'upload'=>$speedtest['ul'],'ping'=>$speedtest['ping'],'jitter'=>$speedtest['jitter'],'ispinfo'=>$speedtest['ispinfo'])); diff --git a/speedtest.js b/speedtest.js index ad5985a50..386fd2286 100755 --- a/speedtest.js +++ b/speedtest.js @@ -49,7 +49,7 @@ function Speedtest() { this._settings = {}; //settings for the speed test worker this._state = 0; //0=adding settings, 1=adding servers, 2=server selection done, 3=test running, 4=done console.log( - "LibreSpeed by Federico Dossena v5.3.0 - https://github.com/librespeed/speedtest" + "LibreSpeed by Federico Dossena v5.3.1 - https://github.com/librespeed/speedtest" ); }