enable 4chan api by default. it bears some extra CPU time with it, but giving API to the users by default is the way to go.

This commit is contained in:
czaks 2014-03-09 01:51:39 +01:00
parent a7813360e3
commit b585fe912e

View File

@ -1464,7 +1464,7 @@
// Whether or not to enable the 4chan-compatible API, disabled by default. See // Whether or not to enable the 4chan-compatible API, disabled by default. See
// https://github.com/4chan/4chan-API for API specification. // https://github.com/4chan/4chan-API for API specification.
$config['api']['enabled'] = false; $config['api']['enabled'] = true;
// Extra fields in to be shown in the array that are not in the 4chan-API. You can get these by taking a // Extra fields in to be shown in the array that are not in the 4chan-API. You can get these by taking a
// look at the schema for posts_ tables. The array should be formatted as $db_column => $translated_name. // look at the schema for posts_ tables. The array should be formatted as $db_column => $translated_name.