From: Hypolite Petovan Date: Thu, 17 Aug 2023 11:28:17 +0000 (-0400) Subject: Move default header image credits to static/defaults.config.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d7985dcff4bc0a4ca1c3b76076e43de771de4bb;p=friendica.git Move default header image credits to static/defaults.config.php --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 23e1f2cbff..c6001ebb44 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1899,12 +1899,6 @@ class Contact switch ($platform) { case 'friendica': case 'friendika': - /** - * Picture credits - * @author Lostinlight - * @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': diff --git a/static/defaults.config.php b/static/defaults.config.php index 4562da8987..33ed8211b4 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -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 + // 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' => [