2019-06-05 03:47:48 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
2019-07-08 05:23:01 +00:00
|
|
|
|
2019-12-18 03:56:09 +00:00
|
|
|
'description' => env('INSTANCE_DESCRIPTION', null),
|
2019-06-18 20:16:01 +00:00
|
|
|
|
|
|
|
'contact' => [
|
|
|
|
'enabled' => env('INSTANCE_CONTACT_FORM', false),
|
|
|
|
'max_per_day' => env('INSTANCE_CONTACT_MAX_PER_DAY', 1),
|
|
|
|
],
|
2019-06-27 06:50:01 +00:00
|
|
|
|
2019-07-08 05:23:01 +00:00
|
|
|
'discover' => [
|
|
|
|
'loops' => [
|
2020-01-28 03:55:11 +00:00
|
|
|
'enabled' => env('EXP_LOOPS', false),
|
2019-07-08 05:23:01 +00:00
|
|
|
],
|
|
|
|
'tags' => [
|
|
|
|
'is_public' => env('INSTANCE_PUBLIC_HASHTAGS', false)
|
|
|
|
],
|
2019-07-08 02:24:10 +00:00
|
|
|
],
|
2019-07-08 05:23:01 +00:00
|
|
|
|
|
|
|
'email' => env('INSTANCE_CONTACT_EMAIL'),
|
2019-07-08 02:24:10 +00:00
|
|
|
|
|
|
|
'timeline' => [
|
|
|
|
'local' => [
|
2019-09-06 04:06:23 +00:00
|
|
|
'is_public' => env('INSTANCE_PUBLIC_LOCAL_TIMELINE', false)
|
2019-07-08 02:24:10 +00:00
|
|
|
]
|
2019-07-08 05:23:01 +00:00
|
|
|
],
|
|
|
|
|
2019-07-27 06:05:41 +00:00
|
|
|
'page' => [
|
2019-07-27 06:11:16 +00:00
|
|
|
'404' => [
|
|
|
|
'header' => env('PAGE_404_HEADER', 'Sorry, this page isn\'t available.'),
|
|
|
|
'body' => env('PAGE_404_BODY', 'The link you followed may be broken, or the page may have been removed. <a href="/">Go back to Pixelfed.</a>')
|
|
|
|
],
|
2019-07-27 06:05:41 +00:00
|
|
|
'503' => [
|
|
|
|
'header' => env('PAGE_503_HEADER', 'Service Unavailable'),
|
|
|
|
'body' => env('PAGE_503_BODY', 'Our service is in maintenance mode, please try again later.')
|
|
|
|
]
|
|
|
|
],
|
2019-11-03 03:12:44 +00:00
|
|
|
'username' => [
|
2020-01-17 06:07:58 +00:00
|
|
|
'banned' => env('BANNED_USERNAMES'),
|
2019-11-03 03:12:44 +00:00
|
|
|
'remote' => [
|
|
|
|
'formats' => ['@', 'from', 'custom'],
|
|
|
|
'format' => in_array(env('USERNAME_REMOTE_FORMAT', '@'), ['@','from','custom']) ? env('USERNAME_REMOTE_FORMAT', '@') : '@',
|
|
|
|
'custom' => env('USERNAME_REMOTE_CUSTOM_TEXT', null)
|
|
|
|
]
|
|
|
|
],
|
2019-12-31 23:16:02 +00:00
|
|
|
|
|
|
|
'stories' => [
|
|
|
|
'enabled' => env('STORIES_ENABLED', false),
|
2020-01-28 03:55:11 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'restricted' => [
|
|
|
|
'enabled' => env('RESTRICTED_INSTANCE', false),
|
|
|
|
'level' => 1
|
2019-12-31 23:16:02 +00:00
|
|
|
]
|
2019-06-05 03:47:48 +00:00
|
|
|
];
|