[various] Remove config/addon.config.php in favor of per-addon configuration file

This commit is contained in:
Hypolite Petovan 2022-11-20 11:43:42 -05:00
parent 5b25b03ea3
commit 46d4d0b51e
29 changed files with 137 additions and 206 deletions

View file

@ -38,11 +38,13 @@ Open the `config/local.config.php` file and add "gravatar" to the list of activa
...
]
You can add two configuration variables for the addon to the `config/addon.config.php` file:
You can add two configuration variables for the addon to the `config/gravatar.config.php` file:
'gravatar' => [
'default_avatar' => 'identicon',
'rating' => 'g',
],
return [
'gravatar' => [
'default_avatar' => 'identicon',
'rating' => 'g',
],
];
[1]: http://www.gravatar.com/site/implement/images/ "See documentation at Gravatar for more information"

View file

@ -1,7 +1,7 @@
<?php
// Warning: Don't change this file! It only holds the default config values for this addon.
// Instead overwrite these config values in config/addon.config.php in your Friendica directory
// Instead, copy this file to config/gravatar.config.php in your Friendica directory and set the correct values there
return [
'gravatar' => [