[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
|
@ -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.
|
||||
|
|
|
@ -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' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue