kopia lustrzana https://github.com/friendica/friendica
Merge pull request #10243 from annando/api-malformat
API: The instance record had got a malformatted valuepull/10244/head
commit
786b5cf283
|
@ -80,7 +80,7 @@ class Instance extends BaseDataTransferObject
|
||||||
$instance->description = DI::config()->get('config', 'info');
|
$instance->description = DI::config()->get('config', 'info');
|
||||||
$instance->email = DI::config()->get('config', 'admin_email');
|
$instance->email = DI::config()->get('config', 'admin_email');
|
||||||
$instance->version = FRIENDICA_VERSION;
|
$instance->version = FRIENDICA_VERSION;
|
||||||
$instance->urls = []; // Not supported
|
$instance->urls = null; // Not supported
|
||||||
$instance->stats = Stats::get();
|
$instance->stats = Stats::get();
|
||||||
$instance->thumbnail = $baseUrl->get() . (DI::config()->get('system', 'shortcut_icon') ?? 'images/friendica-32.png');
|
$instance->thumbnail = $baseUrl->get() . (DI::config()->get('system', 'shortcut_icon') ?? 'images/friendica-32.png');
|
||||||
$instance->languages = [DI::config()->get('system', 'language')];
|
$instance->languages = [DI::config()->get('system', 'language')];
|
||||||
|
|
Ładowanie…
Reference in New Issue