mirror of
https://github.com/friendica/friendica
synced 2024-11-18 16:23:41 +00:00
Without "->__toString()"
This commit is contained in:
parent
cbb9cb6c24
commit
a5b774d2ef
1 changed files with 1 additions and 1 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->__toString() . '/images/friendica-banner.jpg';
|
||||
$this->thumbnail = $baseUrl . '/images/friendica-banner.jpg';
|
||||
$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…
Reference in a new issue