Updated configuration files

- Added system.account_abandon_days and system.addon to defaults.ini.php
- Fixed database section key names in local-sample.ini.php
This commit is contained in:
Hypolite Petovan 2018-06-27 23:05:01 -04:00
parent 0448ca3897
commit b10ae510c0
2 changed files with 18 additions and 5 deletions

View file

@ -4,6 +4,7 @@
; Please don't edit this file as its content may change in the upcoming versions. ; Please don't edit this file as its content may change in the upcoming versions.
[jabber] [jabber]
; debug (Boolean) ; debug (Boolean)
; Enable debug level for the jabber account synchronisation. ; Enable debug level for the jabber account synchronisation.
debug = false debug = false
@ -13,6 +14,7 @@ debug = false
lockpath = lockpath =
[database] [database]
; host (String) ; host (String)
; Hostname or IP address of the database server. ; Hostname or IP address of the database server.
; Can contain the port number with the syntax "hostname:port". ; Can contain the port number with the syntax "hostname:port".
@ -64,6 +66,16 @@ register_text = ''
sitename = "Friendica Social Network" sitename = "Friendica Social Network"
[system] [system]
; account_abandon_days (Integer)
; Will not waste system resources polling external sites for abandonded accounts.
; Enter 0 for no time limit.
account_abandon_days = 0
; addon (Comma-separated list)
; Manual list of addons which are enabled on this system.
addon =
; allowed_link_protocols (Array) ; allowed_link_protocols (Array)
; Allowed protocols in links URLs, add at your own risk. http is always allowed. ; Allowed protocols in links URLs, add at your own risk. http is always allowed.
allowed_link_protocols[] = ftp allowed_link_protocols[] = ftp
@ -189,7 +201,8 @@ invitation_only = false
jpeg_quality = 100 jpeg_quality = 100
; language (String) ; language (String)
; Default system language. Two-letters ISO 639-1 code. ; Admin-created user default language.
; Two-letters ISO 639-1 code.
language = en language = en
; like_no_comment (Boolean) ; like_no_comment (Boolean)

View file

@ -11,10 +11,10 @@
; Then set the following for your MySQL installation ; Then set the following for your MySQL installation
[database] [database]
host = localhost hostname = localhost
user = mysqlusername username = mysqlusername
pass = mysqlpassword password = mysqlpassword
data = mysqldatabasename database = mysqldatabasename
charset = utf8mb4 charset = utf8mb4