Move default header image credits to static/defaults.config.php
This commit is contained in:
parent
18c078f8c2
commit
5d7985dcff
|
@ -1899,12 +1899,6 @@ class Contact
|
||||||
switch ($platform) {
|
switch ($platform) {
|
||||||
case 'friendica':
|
case 'friendica':
|
||||||
case 'friendika':
|
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';
|
$header = DI::baseUrl() . '/images/friendica-banner.jpg';
|
||||||
break;
|
break;
|
||||||
case 'diaspora':
|
case 'diaspora':
|
||||||
|
|
|
@ -783,7 +783,12 @@ return [
|
||||||
],
|
],
|
||||||
'api' => [
|
'api' => [
|
||||||
// mastodon_banner (String)
|
// 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',
|
'mastodon_banner' => '/images/friendica-banner.jpg',
|
||||||
],
|
],
|
||||||
'blocklist' => [
|
'blocklist' => [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user