[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

@ -31,10 +31,12 @@ Open the `config/local.config.php` file and add "libravatar" to the list of acti
...
]
You can add one configuration variables for the addon to the `config/addon.config.php` file:
You can add one configuration variables for the addon to the `config/libravatar.config.php` file:
'libravatar' => [
'default_avatar' => 'identicon',
],
return [
'libravatar' => [
'default_avatar' => 'identicon',
],
];
[1]: http://wiki.libravatar.org/api/ "See API documentation at Libravatar 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/libravatar.config.php in your Friendica directory and set the correct values there
return [
'libravatar' => [