Fixed syntax error in endpoint.php

This commit is contained in:
Klaus-Uwe Mitterer 2016-08-15 00:53:18 +02:00
parent e4bad9787f
commit 97b04eff7b

View file

@ -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"]) ) {