2021-04-02 19:20:02 +02:00
|
|
|
<?php
|
|
|
|
|
2021-06-08 11:52:11 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2021-04-02 19:20:02 +02:00
|
|
|
/**
|
|
|
|
* @copyright 2021 Podlibre
|
|
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
|
|
* @link https://castopod.org/
|
|
|
|
*/
|
|
|
|
|
2021-08-23 13:05:16 +02:00
|
|
|
namespace Modules\Fediverse\Config;
|
2021-04-02 19:20:02 +02:00
|
|
|
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
2021-08-23 13:05:16 +02:00
|
|
|
use Modules\Fediverse\Objects\ActorObject;
|
|
|
|
use Modules\Fediverse\Objects\NoteObject;
|
2021-04-02 19:20:02 +02:00
|
|
|
|
2021-08-23 13:05:16 +02:00
|
|
|
class Fediverse extends BaseConfig
|
2021-04-02 19:20:02 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------
|
2021-08-27 12:58:22 +02:00
|
|
|
* Fediverse Objects
|
2021-04-02 19:20:02 +02:00
|
|
|
* --------------------------------------------------------------------
|
|
|
|
*/
|
2021-05-18 19:16:36 +02:00
|
|
|
public string $actorObject = ActorObject::class;
|
2021-05-06 16:00:48 +02:00
|
|
|
|
2021-05-18 19:16:36 +02:00
|
|
|
public string $noteObject = NoteObject::class;
|
2021-04-14 15:37:11 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------
|
|
|
|
* Default avatar and cover images
|
|
|
|
* --------------------------------------------------------------------
|
|
|
|
*/
|
2021-08-23 13:05:16 +02:00
|
|
|
public string $defaultAvatarImagePath = 'media/castopod-avatar-default_thumbnail.jpg';
|
2021-05-06 16:00:48 +02:00
|
|
|
|
2021-05-18 19:16:36 +02:00
|
|
|
public string $defaultAvatarImageMimetype = 'image/jpeg';
|
2021-04-14 15:37:11 +02:00
|
|
|
|
2021-08-23 13:05:16 +02:00
|
|
|
public string $defaultCoverImagePath = 'media/castopod-cover-default.jpg';
|
2021-05-06 16:00:48 +02:00
|
|
|
|
2021-05-18 19:16:36 +02:00
|
|
|
public string $defaultCoverImageMimetype = 'image/jpeg';
|
2021-04-22 19:20:28 +02:00
|
|
|
|
2021-08-27 12:58:22 +02:00
|
|
|
public string $tablesPrefix = 'fediverse_';
|
|
|
|
|
2021-04-22 19:20:28 +02:00
|
|
|
/**
|
|
|
|
* --------------------------------------------------------------------
|
|
|
|
* Cache options
|
|
|
|
* --------------------------------------------------------------------
|
|
|
|
*/
|
2021-05-18 19:16:36 +02:00
|
|
|
public string $cachePrefix = 'ap_';
|
2021-04-02 19:20:02 +02:00
|
|
|
}
|