mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 06:51:27 +00:00
120 lines
No EOL
3.6 KiB
PHP
120 lines
No EOL
3.6 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Domains
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Application domains used for routing
|
|
|
|
|
*/
|
|
'domain' => [
|
|
'admin' => env('ADMIN_DOMAIN'),
|
|
'app' => env('APP_DOMAIN'),
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| PixelFed Version
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This value is the version of your PixelFed instance.
|
|
|
|
|
*/
|
|
'version' => '0.1.0',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| NodeInfo Route Path
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Do not change this value unless you know what you are doing.
|
|
|
|
|
*/
|
|
'nodeinfo' => [
|
|
'url' => config('app.url') . '/' . 'api/nodeinfo/2.0.json'
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| PHP/ImageMagic/GD Memory Limit
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This memory_limit value is only used for image processing. The
|
|
| default memory_limit php.ini is used for the rest of the app.
|
|
|
|
|
*/
|
|
'memory_limit' => '1024M',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Restricted Usernames
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Optional blacklist to prevent registering usernames that could
|
|
| be confused for admin or system services.
|
|
|
|
|
*/
|
|
'restricted_names' => [
|
|
'reserved_routes' => true,
|
|
'use_blacklist' => false
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Allow New Registrations
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Enable/disable new local account registrations.
|
|
|
|
|
*/
|
|
'open_registration' => env('OPEN_REGISTRATION', true),
|
|
'recaptcha' => env('RECAPTCHA_ENABLED', false),
|
|
|
|
'remote_follow_enabled' => env('REMOTE_FOLLOW', false),
|
|
|
|
'activitypub_enabled' => env('ACTIVITY_PUB', false),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Photo file size limit
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Update the max photo size, in KB.
|
|
|
|
|
*/
|
|
'max_photo_size' => env('MAX_PHOTO_SIZE', 15000),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Caption limit
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Change the caption length limit for new local posts.
|
|
|
|
|
*/
|
|
'max_caption_length' => env('MAX_CAPTION_LENGTH', 150),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Album size limit
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The max number of photos allowed per post.
|
|
|
|
|
*/
|
|
'max_album_length' => env('MAX_ALBUM_LENGTH', 4),
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Email Verification
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Require email verification before a new user can do anything.
|
|
|
|
|
*/
|
|
'enforce_email_verification' => env('ENFORCE_EMAIL_VERIFICATION', true),
|
|
|
|
]; |