Use constants instead of strings for register_policy

This commit is contained in:
Hypolite Petovan 2018-11-26 07:40:44 -05:00
parent 833c57cc35
commit 0c21bd488f
5 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ return [
'config' => [
'admin_email' => '',
'sitename' => 'Friendica Social Network',
'register_policy' => 'REGISTER_OPEN',
'register_policy' => REGISTER_OPEN,
'register_text' => '',
],
'system' => [

View file

@ -19,7 +19,7 @@ return [
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
// Be certain to create your own personal account before setting REGISTER_CLOSED.
// REGISTER_APPROVE requires you set system.admin_email to the email address of an already registered person who can authorize and/or approve/deny the request.
'register_policy' => 'REGISTER_CLOSED',
'register_policy' => REGISTER_CLOSED,
// register_text (String)
// Will be displayed prominently on the registration page.

View file

@ -209,7 +209,7 @@ return [
'config' => [
'admin_email' => '',
'sitename' => 'Friendica Social Network',
'register_policy' => 'REGISTER_OPEN',
'register_policy' => REGISTER_OPEN,
'register_text' => '',
],
'system' => [

View file

@ -31,7 +31,7 @@ return [
'config' => [
'admin_email' => 'admin@friendica.local',
'sitename' => 'Friendica Social Network',
'register_policy' => 'REGISTER_OPEN',
'register_policy' => REGISTER_OPEN,
'register_text' => '',
],
'system' => [

View file

@ -24,7 +24,7 @@ return [
'php_path' => '{{$phpath}}',
'admin_email' => '{{$adminmail}}',
'sitename' => 'Friendica Social Network',
'register_policy' => 'REGISTER_OPEN',
'register_policy' => REGISTER_OPEN,
'max_import_size' => 200000,
],
'system' => [