From b10ae510c0911bf47e8a83fd47a2b9ffdb06c42a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 27 Jun 2018 23:05:01 -0400 Subject: [PATCH] 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 --- config/defaults.ini.php | 15 ++++++++++++++- config/local-sample.ini.php | 8 ++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/config/defaults.ini.php b/config/defaults.ini.php index ffc3c495de..fac979c005 100644 --- a/config/defaults.ini.php +++ b/config/defaults.ini.php @@ -4,6 +4,7 @@ ; Please don't edit this file as its content may change in the upcoming versions. [jabber] + ; debug (Boolean) ; Enable debug level for the jabber account synchronisation. debug = false @@ -13,6 +14,7 @@ debug = false lockpath = [database] + ; host (String) ; Hostname or IP address of the database server. ; Can contain the port number with the syntax "hostname:port". @@ -64,6 +66,16 @@ register_text = '' sitename = "Friendica Social Network" [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 protocols in links URLs, add at your own risk. http is always allowed. allowed_link_protocols[] = ftp @@ -189,7 +201,8 @@ invitation_only = false jpeg_quality = 100 ; language (String) -; Default system language. Two-letters ISO 639-1 code. +; Admin-created user default language. +; Two-letters ISO 639-1 code. language = en ; like_no_comment (Boolean) diff --git a/config/local-sample.ini.php b/config/local-sample.ini.php index 6afbf121ea..0e46f22f91 100644 --- a/config/local-sample.ini.php +++ b/config/local-sample.ini.php @@ -11,10 +11,10 @@ ; Then set the following for your MySQL installation [database] -host = localhost -user = mysqlusername -pass = mysqlpassword -data = mysqldatabasename +hostname = localhost +username = mysqlusername +password = mysqlpassword +database = mysqldatabasename charset = utf8mb4