From ed9b7c8055690bc7e54af5524089fffbb67590ac Mon Sep 17 00:00:00 2001 From: lloydbayley Date: Mon, 22 May 2023 23:55:11 +1000 Subject: [PATCH] Security Fixes, Mainly --- homepage/index.php | 7 ++++++- homepage/views.php | 9 +++++++-- scripts/history.php | 5 +++++ scripts/play.php | 5 +++++ scripts/stats.php | 5 +++++ scripts/todays_detections.php | 5 +++++ 6 files changed, 33 insertions(+), 3 deletions(-) diff --git a/homepage/index.php b/homepage/index.php index eeae423..160edf6 100644 --- a/homepage/index.php +++ b/homepage/index.php @@ -1,4 +1,9 @@ "; } - +?> diff --git a/homepage/views.php b/homepage/views.php index e753700..1b2cb42 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -1,4 +1,9 @@ Overview
- +
@@ -143,7 +148,7 @@ if(isset($_GET['view'])){ if($_GET['view'] == "Spectrogram"){include('spectrogram.php');} if($_GET['view'] == "View Log"){echo "";} if($_GET['view'] == "Overview"){include('overview.php');} - if($_GET['view'] == "Today's Detections"){include('todays_detections.php');} + if($_GET['view'] == "Todays Detections"){include('todays_detections.php');} if($_GET['view'] == "Kiosk"){$kiosk = true;include('todays_detections.php');} if($_GET['view'] == "Species Stats"){include('stats.php');} if($_GET['view'] == "Weekly Report"){include('weekly_report.php');} diff --git a/scripts/history.php b/scripts/history.php index a37cbe0..7b639f8 100644 --- a/scripts/history.php +++ b/scripts/history.php @@ -1,4 +1,9 @@