summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-20 18:17:05 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-20 18:17:05 +0000
commit3e9f4f101ab07ed69d202577821d9c3b0fb414f7 (patch)
treef9d4c4539de5c47f7650df4dfa54bf2fafaa69f3 /inc/config.php
parenta29a9324eaec81938869ceb66cb99b2deebb84b1 (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 f7226614..956851f2 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1351,6 +1351,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