Custom fields in API, read config.php for info. Non-4chan compatible fields removed.

This commit is contained in:
ctrlcctrlv 2013-08-20 18:17:05 +00:00 committed by Michael Foster
parent 01e906b1d3
commit ecda099dfb
3 changed files with 39 additions and 38 deletions

View file

@ -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