diff --git a/.env.example b/.env.example index 8b212e576..6a75a3572 100644 --- a/.env.example +++ b/.env.example @@ -204,3 +204,5 @@ MEDIAINFO_PATH= TIIMEOUT_PATH= MAGIC_FILE_PATH= COVERS_PATH= + +FORUM_FRONTEND_ENABLED=false diff --git a/config/forum/frontend.php b/config/forum/frontend.php index 82433e8f2..1f4cd6258 100644 --- a/config/forum/frontend.php +++ b/config/forum/frontend.php @@ -11,7 +11,7 @@ return [ | */ - 'enable' => true, + 'enable' => env('FORUM_FRONTEND_ENABLED', true), /* |--------------------------------------------------------------------------