Move default header image credits to static/defaults.config.php

This commit is contained in:
Hypolite Petovan 2023-08-17 07:28:17 -04:00
parent 18c078f8c2
commit 5d7985dcff
2 changed files with 6 additions and 7 deletions

View File

@ -1899,12 +1899,6 @@ class Contact
switch ($platform) {
case 'friendica':
case 'friendika':
/**
* Picture credits
* @author Lostinlight <https://mastodon.xyz/@lightone>
* @license CC0 https://creativecommons.org/share-your-work/public-domain/cc0/
* @link https://gitlab.com/lostinlight/per_aspera_ad_astra/-/blob/master/friendica-404/friendica-promo-bubbles.jpg
*/
$header = DI::baseUrl() . '/images/friendica-banner.jpg';
break;
case 'diaspora':

View File

@ -783,7 +783,12 @@ return [
],
'api' => [
// mastodon_banner (String)
// Banner for Mastodon API
// Default banner image for Mastodon API, must be a relative path from the base Friendica folder
//
// Default picture credits:
// Author: Lostinlight <https://mastodon.xyz/@lightone>
// License: CC0 https://creativecommons.org/share-your-work/public-domain/cc0/
// Link to original work: https://gitlab.com/lostinlight/per_aspera_ad_astra/-/blob/master/friendica-404/friendica-promo-bubbles.jpg
'mastodon_banner' => '/images/friendica-banner.jpg',
],
'blocklist' => [