From a67d2197cc927f617cde7c370109e48ca976f687 Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Wed, 21 Sep 2022 20:21:54 +0200 Subject: [PATCH] Removed autocomplete --- engines/google/suggestions.php | 16 ---------------- opensearch.xml.example | 3 --- suggestions.php | 10 ---------- 3 files changed, 29 deletions(-) delete mode 100644 engines/google/suggestions.php delete mode 100644 suggestions.php diff --git a/engines/google/suggestions.php b/engines/google/suggestions.php deleted file mode 100644 index e8fc6f0..0000000 --- a/engines/google/suggestions.php +++ /dev/null @@ -1,16 +0,0 @@ -google_domain/complete/search?q=$query_encoded&output=firefox&hl=$config->google_language"; - - // Make request - $ch = curl_init($url); - curl_setopt_array($ch, $config->curl_settings); - $result = curl_exec($ch); - return $result; - } - - function print_suggestions_results($result) { - echo $result; - } diff --git a/opensearch.xml.example b/opensearch.xml.example index 63d8654..e04cc2c 100644 --- a/opensearch.xml.example +++ b/opensearch.xml.example @@ -5,9 +5,6 @@ UTF-8 LibreX search - - - diff --git a/suggestions.php b/suggestions.php deleted file mode 100644 index 10215b1..0000000 --- a/suggestions.php +++ /dev/null @@ -1,10 +0,0 @@ -