[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

@ -7,10 +7,12 @@ Use [Geonames service](https://www.geonames.org) to resolve nearest populated lo
## Installation
Pre-requisite: Register a username at https://www.geonames.org/login and set it in `config/addon.config.php`
Pre-requisite: Register a username at https://www.geonames.org/login and set it in `config/geonames.config.php`:
'geonames' => [
'username' => 'your_username'
],
return [
'geonames' => [
'username' => 'your_username'
],
];
Also visit https://geonames.org/manageaccount and enable access to the free web services.

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/geonames.config.php in your Friendica directory and set the correct values there
return [
'geonames' => [