From 712121e43234a4dfe71b509967020fc10db9a281 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Mon, 17 Apr 2023 11:05:46 -0400 Subject: [PATCH] warn user on every page if lon/lat aren't set --- homepage/views.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/homepage/views.php b/homepage/views.php index b4d59a0..987f522 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -50,6 +50,16 @@ if (file_exists('./scripts/thisrun.txt')) { } elseif (file_exists('./scripts/firstrun.ini')) { $config = parse_ini_file('./scripts/firstrun.ini'); } + +if ($config["LATITUDE"] == "0.000" && $config["LONGITUDE"] == "0.000") { + echo "