From 902504fbfa0a1bfbc726b5f7d984374817c3a3f4 Mon Sep 17 00:00:00 2001 From: Dave Jansen Date: Mon, 14 Aug 2023 01:44:41 +0000 Subject: [PATCH] Remove $loc references as it is not used by FrogFind. --- image.php | 11 +++-------- read.php | 7 +------ 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/image.php b/image.php index c033ea8..ec98e37 100644 --- a/image.php +++ b/image.php @@ -1,11 +1,6 @@ - 68k.news Image Viewer + FrogFind Image Viewer - < Back to article + < Back to previous page

Viewing image:



- < Back to article + < Back to previous page \ No newline at end of file diff --git a/read.php b/read.php index 3bb19e9..063f0b5 100644 --- a/read.php +++ b/read.php @@ -4,7 +4,6 @@ require_once('vendor/autoload.php'); $article_url = ""; $article_html = ""; $error_text = ""; -$loc = "US"; // List of Content-Types that we know we can (try to) parse. // Anything else will get piped through directly, if possible. @@ -18,10 +17,6 @@ $compatible_content_types = [ // a direct link to the file. $proxy_download_max_filesize = 8000000; // ~ 8Mb -if( isset( $_GET['loc'] ) ) { - $loc = strtoupper($_GET["loc"]); -} - if( isset( $_GET['a'] ) ) { $article_url = $_GET["a"]; } else { @@ -145,7 +140,7 @@ function clean_str($str) { //we can only do png and jpg if (strpos($image_url, ".jpg") || strpos($image_url, ".jpeg") || strpos($image_url, ".png") === true) { $img_num++; - $imgline_html .= " [$img_num] "; + $imgline_html .= " [$img_num] "; } endforeach; if($img_num>0) {