diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-12-04 15:30:59 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-12-04 15:30:59 +0000 |
commit | f7ccbde31062488cbf04b3e4c06a9aa590ebfedd (patch) | |
tree | d16cd0b04116be9e62b13f244a3b3db6e095d3cd /api/export_gcs.php | |
parent | 381c5755648ca4813d47686345e0b6f1739a17f2 (diff) | |
download | semanticscuttle-f7ccbde31062488cbf04b3e4c06a9aa590ebfedd.tar.gz semanticscuttle-f7ccbde31062488cbf04b3e4c06a9aa590ebfedd.tar.bz2 |
Interface fix: add link to gsearch/ on normal search page
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@198 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'api/export_gcs.php')
-rw-r--r-- | api/export_gcs.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/export_gcs.php b/api/export_gcs.php index fd1121e..1040dd4 100644 --- a/api/export_gcs.php +++ b/api/export_gcs.php @@ -7,6 +7,11 @@ //require_once('httpauth.inc.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; +} + $bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService'); $userservice =& ServiceFactory::getServiceInstance('UserService'); |