Make error message more general

This commit is contained in:
Klaus-Uwe Mitterer 2016-02-07 22:29:56 +01:00
parent 6cb4dc7429
commit d2633ceaa6

View file

@ -28,6 +28,6 @@ if (isset($_GET["lat"]) && preg_match("/^-?\d+\.\d+$/", $_GET["lat"])
} else {
header('HTTP/1.0 400 Bad Request');
echo 'Please type this URL in the <a href="https://play.google.com/store/apps/details?id=fr.herverenault.selfhostedgpstracker">Self-Hosted GPS Tracker</a> Android app on your phone.';
echo 'This is an endpoint for compatible GPS trackers only.';
}