summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-20 18:19:06 -0400
committerczaks <marcin@6irc.net>2013-08-20 18:19:06 -0400
commitf909fd190af4427dae1a8eddd4fa476c1243c433 (patch)
tree2b95b9f86510286bf291a28d9c63d5398bbfe54c /inc/config.php
parentbb3f2d50756409a8c3aef704081b7cd7af0dd9ab (diff)
parent07bf8914e688486e0c9e879ed25cfa866f3efb59 (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
* ====================