From 9182a90513e3b0679d4732d10911a488f229578b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Jun 2024 09:27:45 +0000 Subject: customization --- lib/backend.php | 1 - lib/frontend.php | 12 ++++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/backend.php b/lib/backend.php index 5b990a9..09a4267 100644 --- a/lib/backend.php +++ b/lib/backend.php @@ -50,7 +50,6 @@ class backend{ switch($type){ case "raw_ip": - curl_setopt($curlproc, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6); break; case "http": diff --git a/lib/frontend.php b/lib/frontend.php index ae703fc..224f12c 100644 --- a/lib/frontend.php +++ b/lib/frontend.php @@ -242,6 +242,7 @@ class frontend{ $payload .= $this->highlighttext($keywords, $site["title"]) . ''; + $payload .= ''; if($greentext !== null){ @@ -261,7 +262,6 @@ class frontend{ $payload .= $customhtml; - $payload .= ''; /* Sublinks @@ -919,12 +919,13 @@ class frontend{ $filters["scraper"] = [ "display" => "Scraper", "option" => [ - "brave" => "Brave", "google" => "Google", + "ddg" => "DuckDuckGo", + "googlealt" => "GoogleV6", + "brave" => "Brave", "yandex" => "Yandex", "qwant" => "Qwant", "yep" => "Yep", - "ddg" => "DuckDuckGo", "greppr" => "Greppr", "crowdview" => "Crowdview", "mwmbl" => "Mwmbl", @@ -940,9 +941,10 @@ class frontend{ $filters["scraper"] = [ "display" => "Scraper", "option" => [ - "brave" => "Brave", "google" => "Google", + "brave" => "Brave", "ddg" => "DuckDuckGo", + "googlealt" => "GoogleV6", "yandex" => "Yandex", "qwant" => "Qwant", "yep" => "Yep", @@ -960,6 +962,7 @@ class frontend{ "yt" => "YouTube", //"fb" => "Facebook videos", "ddg" => "DuckDuckGo", + "googlealt" => "GoogleV6", "brave" => "Brave", "yandex" => "Yandex", "google" => "Google", @@ -974,6 +977,7 @@ class frontend{ "option" => [ "google" => "Google", "brave" => "Brave", + "googlealt" => "GoogleV6", "qwant" => "Qwant", "ddg" => "DuckDuckGo", "yep" => "Yep", -- cgit v1.2.3