summaryrefslogtreecommitdiff
path: root/api/export_gcs.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/export_gcs.php')
-rw-r--r--api/export_gcs.php5
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');