<?php
/**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$config->set('system', 'site_pubkey', $res['pubkey']);
}
- $domain = DI::baseUrl();
+ $domain = (string)DI::baseUrl();
XML::fromArray([
'XRD' => [
],
], $xml, false, ['hm' => 'http://host-meta.net/xrd/1.0', 'mk' => 'http://salmon-protocol.org/ns/magic-key']);
- System::httpExit($xml->saveXML(), Response::TYPE_XML, 'application/xrd+xml');
+ $this->httpExit($xml->saveXML(), Response::TYPE_XML, 'application/xrd+xml');
}
}