From 5905f87697142d659795dff3fb96c714db9d8eda Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 7 Mar 2022 18:18:30 -0500 Subject: [PATCH] simpler update --- homepage/views.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/homepage/views.php b/homepage/views.php index c8e8b5d..6d775de 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -169,13 +169,6 @@ if(isset($_POST['view'])){ } } elseif(isset($_POST['submit'])) { $command = $_POST['submit']; - if($command == 'update_birdnet.sh'){ - $str= "

Updating . . .

-

Please wait 60 seconds

"; - echo str_pad($str, 4096); - ob_flush(); - flush(); - } if(isset($command)){ $results = shell_exec("$command 2>&1"); echo "
$results
";