From 0e0321cfef60c31027dee8489624e44141373efd Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Fri, 10 Jul 2020 14:22:49 +0000 Subject: [PATCH] [DEFAULTS][FIX] Fix defaults to use value from environment --- src/Core/DB/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/DB/DefaultSettings.php b/src/Core/DB/DefaultSettings.php index 1db6c61948..957a91cc6c 100644 --- a/src/Core/DB/DefaultSettings.php +++ b/src/Core/DB/DefaultSettings.php @@ -57,7 +57,7 @@ abstract class DefaultSettings 'brought_by' => null, 'brought_by_url' => null, 'closed' => false, - 'register_type' => 'public', + 'register_type' => $_ENV['SOCIAL_SITE_PROFILE'], // public, private, community, single-user 'nickname' => $_ENV['SOCIAL_ADMIN_NICK'], 'ssl' => 'always', 'ssl_proxy' => false, // set to true to force GNU social to think it is HTTPS (i.e. using reverse proxy to enable it)