From 1f7f929392cf15e6bcb20a4d66d4b706f0a98f4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20K=C3=A4stner?= Date: Tue, 13 Oct 2015 22:30:32 +0200 Subject: [PATCH] fix opensearchdescription xml --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index d0c2543..847dbcc 100644 --- a/index.php +++ b/index.php @@ -17,6 +17,7 @@ if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 } if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { + header('Content-Type: text/xml'); echo ' consearch'; @@ -27,7 +28,7 @@ if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { consearch @ f p u n k t k . de + echo '#{searchTerms}"> https://www.fpunktk.de/consearch/consearch.png '; -- 2.30.2