diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-12-03 11:11:08 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-12-03 11:11:08 +0000 |
commit | 9723a57f4ca309da030f6d2aaf6d1e3d3ca2136e (patch) | |
tree | 5c74d68c45e6163caddd27adfbb222d62d06eebc /gsearch/context.php | |
parent | 61daf846313f9eddbc6098fdd32b07620480be7e (diff) | |
download | semanticscuttle-9723a57f4ca309da030f6d2aaf6d1e3d3ca2136e.tar.gz semanticscuttle-9723a57f4ca309da030f6d2aaf6d1e3d3ca2136e.tar.bz2 |
Bug fix: correct get title function (missing ) )
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@189 b3834d28-1941-0410-a4f8-b48e95affb8f
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> |