summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-20 20:18:59 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-20 20:18:59 +0000
commit861ed07032dba0eec883e2ebb680fdc8955e7809 (patch)
tree416d11e7e09df63e9c561ad255f12f25a5252cab /inc/config.php
parenteca4c9577432045464187aa29bf2dd3a3ec08819 (diff)
parent8794fe0149c46038acde37d859bcfb0acdf6c1cd (diff)
Merge branch 'master' of https://github.com/ctrlcctrlv/Tinyboard
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index ae3ce0c0..956851f2 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1343,6 +1343,21 @@
// });
/*
+ * =============
+ * API settings
+ * =============
+ */
+
+ // Whether or not to use the API, disabled by default.
+ $config['api']['enabled'] = false;
+
+ // Extra fields in to be shown in the array that are not 4chan API compatible.
+ // You canget these by taking a look at the schema for posts_ tables. The array should be formatted as $db_name => $translated_name.
+ // For example:
+
+ // $config['api']['extra_fields'] = array('body_nomarkup'=>'com_nomarkup');
+
+/*
* ====================
* Other/uncategorized
* ====================