1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

soyjak upstream api changes

This commit is contained in:
Lorenzo Yario 2024-04-29 15:20:58 -07:00 committed by GitHub
parent 6cd11d546f
commit a2d2d7e1ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,6 +21,7 @@ class Api {
'thread' => 'resto',
'subject' => 'sub',
'body' => 'com',
'body_nomarkup' => '___body_nomarkup',
'email' => 'email',
'name' => 'name',
'trip' => 'trip',
@ -48,6 +49,8 @@ class Api {
'height' => 'h',
'width' => 'w',
'size' => 'fsize',
'thumb' => 'thumb',
'filename' => 'filename',
);
if (isset($config['api']['extra_fields']) && gettype($config['api']['extra_fields']) == 'array'){