]> git.mxchange.org Git - friendica.git/commitdiff
Move default header image credits to static/defaults.config.php
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 17 Aug 2023 11:28:17 +0000 (07:28 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 17 Aug 2023 11:28:32 +0000 (07:28 -0400)
src/Model/Contact.php
static/defaults.config.php

index 23e1f2cbff2b30b795b309e408a76fdb1c1e22ae..c6001ebb443fde9a074b8ef388b58a3de44734f2 100644 (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':
index 4562da898745192a49f0f7c790955c4bb7ad4dfc..33ed8211b483949ec64e0717fa55c10c87fc3f1d 100644 (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' => [