From cdf958d29333d448f4521f4d2faa2592b58e9b27 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 10 Aug 2025 21:55:15 -0400 Subject: fix wikipedia crash --- opensearch.php | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 opensearch.php (limited to 'opensearch.php') diff --git a/opensearch.php b/opensearch.php new file mode 100644 index 0000000..4bdf97c --- /dev/null +++ b/opensearch.php @@ -0,0 +1,42 @@ +' . + '' . + '' . htmlspecialchars(config::SERVER_NAME) . ($onion ? " (onion)" : "") . '' . + 'UTF-8' . + '' . $domain . '/favicon.ico' . + ''; + +if( + isset($_GET["ac"]) && + is_string($_GET["ac"]) && + $_GET["ac"] != "disabled" +){ + + echo ''; +} + +echo ''; -- cgit v1.2.3