From: Felix Kästner Date: Thu, 28 May 2015 19:50:39 +0000 (+0200) Subject: move opensearchdescription xml to index.php and fix missing default X-Git-Url: https://fpunktk.de/gitweb/?a=commitdiff_plain;h=bab4c7311008f2083613f3b4cea4804742911f0f;p=consearch.git move opensearchdescription xml to index.php and fix missing default keyword in description --- diff --git a/index.php b/index.php index fd5297f..c87d144 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,5 @@ - - - +*/ - +if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { + echo ' + +consearch'; + if ( $dse ) { echo " ($dse)"; } + echo ' +conveniently use different searchengines +consearch +consearch @ f p u n k t k . de + +https://www.fpunktk.de/consearch/consearch.png +'; + + exit; +} + +?> + @@ -26,7 +43,7 @@ if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 consearch -" title="consearch"> +" title="consearch">