From a71898e8782c99f6b61e3a617259db2656ca73fd Mon Sep 17 00:00:00 2001 From: lloydbayley Date: Sat, 19 Nov 2022 00:13:15 +1100 Subject: [PATCH] Revert "Update config.php" This reverts commit c263202a62e333189bf2878fafc79784b1c537e5. --- scripts/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/config.php b/scripts/config.php index 17174b6..14d4430 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -23,7 +23,8 @@ if(isset($_GET["latitude"])){ $latitude = $_GET["latitude"]; $longitude = $_GET["longitude"]; $site_name = $_GET["site_name"]; - $site_name = preg_replace('/['|\'|\"|"]*/', '', $site_name); + $site_name = str_replace('"', "", $site_name); + $site_name = str_replace('\'', "", $site_name); $birdweather_id = $_GET["birdweather_id"]; $apprise_input = $_GET['apprise_input']; $apprise_notification_title = $_GET['apprise_notification_title'];