diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backend.php | 1 | ||||
-rw-r--r-- | lib/frontend.php | 12 |
2 files changed, 8 insertions, 5 deletions
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"]) . '</div>'; + $payload .= '</a>'; if($greentext !== null){ @@ -261,7 +262,6 @@ class frontend{ $payload .= $customhtml; - $payload .= '</a>'; /* 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", |