mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- use default avatar image if person image is not set - add thumbnail and medium default avatar images - set default avatar images directly in public/media folder - remove public/media's root folder from .gitignore - remove unnecessary copy:images script and cpy-cli package closes #125
32 lines
934 B
PHP
32 lines
934 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Config;
|
|
|
|
use ActivityPub\Config\ActivityPub as ActivityPubBase;
|
|
use App\Libraries\NoteObject;
|
|
|
|
class ActivityPub extends ActivityPubBase
|
|
{
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* ActivityPub Objects
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public string $noteObject = NoteObject::class;
|
|
|
|
/**
|
|
* --------------------------------------------------------------------
|
|
* Default avatar and cover images
|
|
* --------------------------------------------------------------------
|
|
*/
|
|
public string $defaultAvatarImagePath = 'media/castopod-avatar-default_thumbnail.jpg';
|
|
|
|
public string $defaultAvatarImageMimetype = 'image/jpeg';
|
|
|
|
public string $defaultCoverImagePath = 'media/castopod-cover-default.jpg';
|
|
|
|
public string $defaultCoverImageMimetype = 'image/jpeg';
|
|
}
|