mirror of
https://github.com/librespeed/speedtest.git
synced 2024-05-10 18:54:52 +00:00
Merged with master
This commit is contained in:
@@ -69,7 +69,9 @@ function distance($latitudeFrom, $longitudeFrom, $latitudeTo, $longitudeTo) {
|
||||
return acos($dist) / $rad * 60 * 1.853;
|
||||
}
|
||||
function getIpInfoTokenString(){
|
||||
require "getIP_ipInfo_apikey.php";
|
||||
$apikeyFile="getIP_ipInfo_apikey.php";
|
||||
if(!file_exists($apikeyFile)) return "";
|
||||
require $apikeyFile;
|
||||
if(empty($IPINFO_APIKEY)) return "";
|
||||
return "?token=".$IPINFO_APIKEY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user