mirror of
https://github.com/friendica/friendica
synced 2024-12-23 05:20:15 +00:00
Use constants instead of strings for register_policy
This commit is contained in:
parent
833c57cc35
commit
0c21bd488f
5 changed files with 5 additions and 5 deletions
|
@ -34,7 +34,7 @@ return [
|
||||||
'config' => [
|
'config' => [
|
||||||
'admin_email' => '',
|
'admin_email' => '',
|
||||||
'sitename' => 'Friendica Social Network',
|
'sitename' => 'Friendica Social Network',
|
||||||
'register_policy' => 'REGISTER_OPEN',
|
'register_policy' => REGISTER_OPEN,
|
||||||
'register_text' => '',
|
'register_text' => '',
|
||||||
],
|
],
|
||||||
'system' => [
|
'system' => [
|
||||||
|
|
|
@ -19,7 +19,7 @@ return [
|
||||||
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
||||||
// Be certain to create your own personal account before setting 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_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)
|
// register_text (String)
|
||||||
// Will be displayed prominently on the registration page.
|
// Will be displayed prominently on the registration page.
|
||||||
|
|
|
@ -209,7 +209,7 @@ return [
|
||||||
'config' => [
|
'config' => [
|
||||||
'admin_email' => '',
|
'admin_email' => '',
|
||||||
'sitename' => 'Friendica Social Network',
|
'sitename' => 'Friendica Social Network',
|
||||||
'register_policy' => 'REGISTER_OPEN',
|
'register_policy' => REGISTER_OPEN,
|
||||||
'register_text' => '',
|
'register_text' => '',
|
||||||
],
|
],
|
||||||
'system' => [
|
'system' => [
|
||||||
|
|
|
@ -31,7 +31,7 @@ return [
|
||||||
'config' => [
|
'config' => [
|
||||||
'admin_email' => 'admin@friendica.local',
|
'admin_email' => 'admin@friendica.local',
|
||||||
'sitename' => 'Friendica Social Network',
|
'sitename' => 'Friendica Social Network',
|
||||||
'register_policy' => 'REGISTER_OPEN',
|
'register_policy' => REGISTER_OPEN,
|
||||||
'register_text' => '',
|
'register_text' => '',
|
||||||
],
|
],
|
||||||
'system' => [
|
'system' => [
|
||||||
|
|
|
@ -24,7 +24,7 @@ return [
|
||||||
'php_path' => '{{$phpath}}',
|
'php_path' => '{{$phpath}}',
|
||||||
'admin_email' => '{{$adminmail}}',
|
'admin_email' => '{{$adminmail}}',
|
||||||
'sitename' => 'Friendica Social Network',
|
'sitename' => 'Friendica Social Network',
|
||||||
'register_policy' => 'REGISTER_OPEN',
|
'register_policy' => REGISTER_OPEN,
|
||||||
'max_import_size' => 200000,
|
'max_import_size' => 200000,
|
||||||
],
|
],
|
||||||
'system' => [
|
'system' => [
|
||||||
|
|
Loading…
Reference in a new issue