From 916ffe268f79a1712c7902ead9cb18f71ead54b2 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 4 Apr 2019 19:42:45 -0600 Subject: [PATCH] Add COSTAR config --- .env.example | 4 ++++ config/costar.php | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 config/costar.php diff --git a/.env.example b/.env.example index 66d51d9b1..92f6cb3ce 100644 --- a/.env.example +++ b/.env.example @@ -65,3 +65,7 @@ HORIZON_DARKMODE=true # php artisan optimize ACTIVITY_PUB=false REMOTE_FOLLOW=false + +CS_BLOCKED_DOMAINS='example.org,example.net,example.com' +CS_CW_DOMAINS='example.org,example.net,example.com' +CS_UNLISTED_DOMAINS='example.org,example.net,example.com' diff --git a/config/costar.php b/config/costar.php new file mode 100644 index 000000000..979ae5049 --- /dev/null +++ b/config/costar.php @@ -0,0 +1,21 @@ + env('PF_COSTAR_ENABLED', true), + + 'domain' => [ + 'block' => env('CS_BLOCKED_DOMAINS', null) ? explode(',', env('CS_BLOCKED_DOMAINS')) : null, + 'cw' => env('CS_CW_DOMAINS', null) ? explode(',', env('CS_CW_DOMAINS')) : null, + 'unlisted' => env('CS_UNLISTED_DOMAINS', null) ? explode(',', env('CS_UNLISTED_DOMAINS')) : null, + ], + +]; \ No newline at end of file