summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-20 18:17:05 +0000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-21 22:35:01 +1000
commitecda099dfb73f9e967a33ce96e45dc7ba1217bf6 (patch)
treee3f649c4c71445f0d869f8b7a44c20bbc9078130 /inc/config.php
parent01e906b1d37858168d4e8b2b7faa114fd4b9f63e (diff)
Custom fields in API, read config.php for info. Non-4chan compatible fields removed.
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 886d7183..750782bc 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1294,6 +1294,12 @@
// 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