From eab5bd2b3261ef03ffa36d848ffd1fae3fb680b8 Mon Sep 17 00:00:00 2001 From: Brian Dembinski Date: Tue, 17 Sep 2024 15:50:32 -0400 Subject: [PATCH] Cleanup --- scripts/config.php | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/scripts/config.php b/scripts/config.php index 431997686..36a467a72 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -38,7 +38,7 @@ function syslog_shell_exec($cmd, $sudo_user = null) { $output = shell_exec($command); - #echo $output; + echo $output; die(); } @@ -56,8 +56,8 @@ function syslog_shell_exec($cmd, $sudo_user = null) { $site_name = str_replace('\'', "", $site_name); $birdweather_id = $_GET["birdweather_id"]; $apprise_input = $_GET['apprise_input']; - $apprise_notification_title = base64_decode($_GET['apprise_notification_title']); - $apprise_notification_body = base64_decode($_GET['apprise_notification_body']); + $apprise_notification_title = $_GET['apprise_notification_title']; + $apprise_notification_body = $_GET['apprise_notification_body']; $minimum_time_limit = $_GET['minimum_time_limit']; $flickr_api_key = $_GET['flickr_api_key']; $flickr_filter_email = $_GET["flickr_filter_email"]; @@ -225,7 +225,7 @@ function() { fclose($apprise_test_config); $output = shell_exec($command); - echo $output; + #echo $output; die(); } @@ -480,16 +480,14 @@ function runProcess() {
Overlap set in "Advanced Settings"
$flickrimage
A preview image of the detected species from Flickr. Set your API key below.
-
$wikiurl
-
A link to the Wikipedia page
$reason
The reason a notification was sent

Use the variables defined above to customize your notification title and body.

-
+
- ' />
+ ' />
>
> @@ -680,16 +678,7 @@ function handleChange(checkbox) {
-