[DEFAULTS][FIX] Fix defaults to use value from environment

This commit is contained in:
Hugo Sales 2020-07-10 14:22:49 +00:00 committed by Hugo Sales
parent 2671c37039
commit 0e0321cfef
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 1 additions and 1 deletions

View File

@ -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)