why not extend this freaky 4chan api a bit?

This commit is contained in:
czaks 2013-12-28 19:51:13 +01:00
parent d6b8447233
commit faaa0eab3a

View File

@ -43,7 +43,9 @@ class Api {
$this->threadsPageFields = array(
'id' => 'no',
'bump' => 'last_modified'
'bump' => 'last_modified',
'replies' => 'replies',
'images' => 'images',
);
if (isset($config['api']['extra_fields']) && gettype($config['api']['extra_fields']) == 'array'){