X-Git-Url: https://fpunktk.de/gitweb/?p=consearch.git;a=blobdiff_plain;f=index.php;h=b50bcaf487afe9dd472286cd759083977bed553d;hp=fd5297ffdaee8d2601f1c45d60fecd39ce7efd0c;hb=4d7943247b9e78e56cd60e33cd662c33930afd84;hpb=1f749771c755f02265ebd1938955e3ee7bce1845 diff --git a/index.php b/index.php index fd5297f..b50bcaf 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,5 @@ - - - +*/ - +$browserintegration = ""; +if ( isset($_GET['include']) and $_GET['include'] == "browserintegration" ) { + $browserintegration = "true"; +} + +if ( isset($_GET['get']) and $_GET['get'] === "opensearchdescription" ) { + header('Content-Type: text/xml'); + echo ' + +consearch'; + if ( $dse ) { echo " ($dse)"; } + echo ' +conveniently use different searchengines +consearch +consearch @ f p u n k t k . de + +https://fpunktk.de/consearch/consearch.png +'; + + exit; +} +?> + + consearch -" title="consearch"> +'; + echo "\n"; +} +?>