From f7ccbde31062488cbf04b3e4c06a9aa590ebfedd Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 4 Dec 2008 15:30:59 +0000 Subject: 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 --- api/export_gcs.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'api') 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'); -- cgit v1.2.3