X-Git-Url: https://fpunktk.de/gitweb/?p=consearch.git;a=blobdiff_plain;f=index.php;h=4f111f1479310e0f7bc914d4e6adf121ca412a9c;hp=cda4e5d394b17fc67d08eb1849597b5ccf80358f;hb=95bfc88e9e063c845515283082bc324014b1c002;hpb=f4556a4da52227cf8def049e206e5705a673a74e
diff --git a/index.php b/index.php
index cda4e5d..4f111f1 100644
--- a/index.php
+++ b/index.php
@@ -15,8 +15,13 @@ $dse = "";
if ( isset($_GET['dse']) and preg_match('/^[0-9a-z]{1,5}$/', $_GET['dse']) === 1 ) { // TODO: prevent injection, check whether dse is a valid searchengine
$dse = $_GET['dse'];
}
+$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 '