1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +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', 'thread' => 'resto',
'subject' => 'sub', 'subject' => 'sub',
'body' => 'com', 'body' => 'com',
'body_nomarkup' => '___body_nomarkup',
'email' => 'email', 'email' => 'email',
'name' => 'name', 'name' => 'name',
'trip' => 'trip', 'trip' => 'trip',
@ -48,6 +49,8 @@ class Api {
'height' => 'h', 'height' => 'h',
'width' => 'w', 'width' => 'w',
'size' => 'fsize', 'size' => 'fsize',
'thumb' => 'thumb',
'filename' => 'filename',
); );
if (isset($config['api']['extra_fields']) && gettype($config['api']['extra_fields']) == 'array'){ if (isset($config['api']['extra_fields']) && gettype($config['api']['extra_fields']) == 'array'){