X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fhtconfig.md;h=4743da444cb95aaabc705c7ed8f3eb0f6a667af3;hb=1c7f4e3c6331f8ad7b1987f33a17074908ad41eb;hp=977bf1dbcc096be124af8d07d3444e7d2fee1a91;hpb=9d5abaca1cc3fbff47cd0e907fff08b9ccb72bec;p=friendica.git diff --git a/doc/htconfig.md b/doc/htconfig.md index 977bf1dbcc..4743da444c 100644 --- a/doc/htconfig.md +++ b/doc/htconfig.md @@ -15,7 +15,7 @@ Especially don't do that with undocumented values. The header of the section describes the category, the value is the parameter. Example: To set the automatic database cleanup process add this line to your .htconfig.php: - $a->config['system']['dbclean'] = true; + $a->config['system']['always_show_preview'] = true; ## jabber ## * **debug** (Boolean) - Enable debug level for the jabber account synchronisation. @@ -37,8 +37,6 @@ Example: To set the automatic database cleanup process add this line to your .ht * **db_loglimit_index** - Number of index rows needed to be logged for indexes on the watchlist * **db_loglimit_index_high** - Number of index rows to be logged anyway (for any index) * **db_log_index_blacklist** - Blacklist of indexes that shouldn't be watched -* **dbclean** (Boolean) - Enable the automatic database cleanup process -* **dbclean-expire-days** (Integer) - Days after which remote items will be deleted. Own items, and marked or filed items are kept. * **diaspora_test** (Boolean) - For development only. Disables the message transfer. * **disable_email_validation** (Boolean) - Disables the check if a mail address is in a valid format and can be resolved via DNS. * **disable_url_validation** (Boolean) - Disables the DNS lookup of an URL. @@ -126,3 +124,11 @@ The configuration variables db_host, db_user, db_pass and db_data are holding yo If you need to specify a port to access the database, you can do so by appending ":portnumber" to the db_host variable. $db_host = 'your.mysqlhost.com:123456'; + +If all of the following environment variables are set, Friendica will use them instead of the previously configured variables for the db: + + MYSQL_HOST + MYSQL_PORT + MYSQL_USERNAME + MYSQL_PASSWORD + MYSQL_DATABASE