From 333a112ff6bf3341d20cdab61cbb83109df123a7 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 9 Oct 2023 09:05:46 -0400 Subject: cleanup some unneeded things --- misc/tools.php | 1 - proxy.php | 3 +-- style/header.php | 3 +-- style/style.css | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/misc/tools.php b/misc/tools.php index 7473953..9917be7 100644 --- a/misc/tools.php +++ b/misc/tools.php @@ -10,7 +10,6 @@ 60 => 'minute', ]; - $numunits; foreach ($timeunits as $unit => $text) { if ($time < $unit) continue; diff --git a/proxy.php b/proxy.php index 6dd4690..7c41d0d 100644 --- a/proxy.php +++ b/proxy.php @@ -8,9 +8,8 @@ die(); } try { - if (!isset($_GET["s"]) || $_GET["s"] == "original") { + if (!isset($_GET["s"]) || $_GET["s"] == "original") $proxy->stream_linear_image($_GET["i"]); - } } catch (Exception $error) { header("X-Error: " . $error->getMessage()); $proxy->do404(); diff --git a/style/header.php b/style/header.php index 0e3f832..a34acf8 100644 --- a/style/header.php +++ b/style/header.php @@ -15,7 +15,6 @@ printf("\nWallHeaven - Viewing A Wallpaper\n", $_GET["w"]); printf("\n", $_GET["w"]); } - ?> @@ -24,7 +23,7 @@

WallHeaven