Fixed syntax error in endpoint.php
This commit is contained in:
parent
e4bad9787f
commit
97b04eff7b
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
require_once("config.php");
|
||||
|
||||
if (!$endpoint) {
|
||||
die("Endpoint not enabled in config. You should do something about that.")
|
||||
die("Endpoint not enabled in config. You should do something about that.");
|
||||
}
|
||||
|
||||
if (isset($_GET["lat"]) && preg_match("/^-?\d+\.\d+$/", $_GET["lat"]) && isset($_GET["lon"]) && preg_match("/^-?\d+\.\d+$/", $_GET["lon"]) && isset($_GET["device"]) ) {
|
||||
|
|
Loading…
Reference in a new issue