summaryrefslogtreecommitdiff
path: root/gsearch/context.php
diff options
context:
space:
mode:
Diffstat (limited to 'gsearch/context.php')
-rw-r--r--gsearch/context.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/gsearch/context.php b/gsearch/context.php
deleted file mode 100644
index e4599ad..0000000
--- a/gsearch/context.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-require_once('../header.inc.php');
-
-if($GLOBALS['enableGoogleCustomSearch'] == false) {
- echo "Google Custom Search disabled. You can enable it into the config.inc.php file.";
- die;
-}
-?>
-
-<!--?xml version="1.0" encoding="UTF-8" ?-->
-<GoogleCustomizations>
- <CustomSearchEngine>
- <Title><?php echo $GLOBALS['sitename'] ?></Title>
- <Description><?php echo filter($GLOBALS['welcomeMessage']) ?></Description>
- <Context>
- <BackgroundLabels>
- <Label name="include" mode="FILTER" />
- </BackgroundLabels>
- </Context>
- <LookAndFeel nonprofit="false">
- </LookAndFeel>
- </CustomSearchEngine>
-
- <Include type="Annotations" href="<?php echo ROOT;?>api/export_gcs.php?xml=1" />
-
-
-</GoogleCustomizations>