mirror of
https://github.com/friendica/friendica
synced 2025-04-24 08:30:11 +00:00
Changes:
- renamed 'api_mastodon_banner' to 'mastodon_banner' and moved it to 'api' configuration group
This commit is contained in:
parent
c5a52271df
commit
9f1c93eb91
2 changed files with 6 additions and 5 deletions
|
@ -91,7 +91,7 @@ class Instance extends BaseDataTransferObject
|
|||
$this->version = '2.8.0 (compatible; Friendica ' . App::VERSION . ')';
|
||||
$this->urls = null; // Not supported
|
||||
$this->stats = new Stats($config, $database);
|
||||
$this->thumbnail = $baseUrl . $config->get('config', 'api_mastodon_banner');
|
||||
$this->thumbnail = $baseUrl . $config->get('api', 'mastodon_banner');
|
||||
$this->languages = [$config->get('system', 'language')];
|
||||
$this->max_toot_chars = (int)$config->get('config', 'api_import_size', $config->get('config', 'max_import_size'));
|
||||
$this->registrations = ($register_policy != Register::CLOSED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue