summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-20 16:53:05 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-20 16:53:05 +0000
commita29a9324eaec81938869ceb66cb99b2deebb84b1 (patch)
tree4ea9e90e2810810df7edd5c7785ca2d0d0a4f998 /inc/config.php
parentdb5ce2cb8ff90c3a0a47dd8a0da91fb3bdb0851b (diff)
Make it possible to disable API, disable it by default
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index ae3ce0c0..f7226614 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1343,6 +1343,15 @@
// });
/*
+ * =============
+ * API settings
+ * =============
+ */
+
+ // Whether or not to use the API, disabled by default.
+ $config['api']['enabled'] = false;
+
+/*
* ====================
* Other/uncategorized
* ====================