diff options
Diffstat (limited to 'gsearch/context.php')
-rw-r--r-- | gsearch/context.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gsearch/context.php b/gsearch/context.php index 1a65063..bed474d 100644 --- a/gsearch/context.php +++ b/gsearch/context.php @@ -1,4 +1,11 @@ -<?php require_once('../header.inc.php');?> +<?php +if($GLOBALS['enableGoogleCustomSearch']==false) { + echo "Google Custom Search disabled. You can enable it into the config.inc.php file."; + die; +} + +require_once('../header.inc.php'); +?> <!--?xml version="1.0" encoding="UTF-8" ?--> <GoogleCustomizations> |