mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
[various] Remove config/addon.config.php in favor of per-addon configuration file
This commit is contained in:
parent
5b25b03ea3
commit
46d4d0b51e
29 changed files with 137 additions and 206 deletions
|
@ -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"
|
||||
|
|
|
@ -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' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue