Browse Source

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.

pull/40/head
czaks 10 years ago
parent
commit
b585fe912e
  1. 2
      inc/config.php

2
inc/config.php

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

Loading…
Cancel
Save