Skip to content

A live bird collage card for your Home Assistant dashboard.

Update views.php

Patrick McGuire4be35733893f
diff --git a/homepage/views.php b/homepage/views.php
index 55f2c75b..cd04e71d 100644
--- a/homepage/views.php
+++ b/homepage/views.php
@@ -186,10 +186,6 @@ if(isset($_GET['view'])){
}
} elseif(isset($_GET['submit'])) {
$command = $_GET['submit'];
- if(isset($command)){
- $results = shell_exec("$command 2>&1");
- echo "<pre>$results</pre>";
- }
ob_end_flush();
} else {include('overview.php');}
?>