X-Git-Url: https://fpunktk.de/gitweb/?p=consearch.git;a=blobdiff_plain;f=index.php;h=107cff32ead789f34c333b62d2c6910ba6c3c2e4;hp=fd5297ffdaee8d2601f1c45d60fecd39ce7efd0c;hb=efd7e92fc2f52dc157359b99f471be8b8defeeda;hpb=1f749771c755f02265ebd1938955e3ee7bce1845 diff --git a/index.php b/index.php index fd5297f..107cff3 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,20 @@ if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 consearch -" title="consearch"> +'; + echo "\n"; +} +?>