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
|
@ -16,14 +16,16 @@ Simply fill in the fields in the impressium settings page in the addons area of
|
|||
|
||||
Manual Configuration
|
||||
--------------------
|
||||
If you for any reason you prefer to use a configuration file instead, you can set the following variables in the `config/addon.config.php` file
|
||||
If you for any reason you prefer to use a configuration file instead, you can set the following variables in the `config/impressum.config.php` file
|
||||
|
||||
'impressum' => [
|
||||
'owner' => '', This is the Name of the Operator
|
||||
'ownerprofile' => '', This is an optional Friendica account where the above owner name will link to
|
||||
'email' => '', A contact email address (optional)
|
||||
Will be displayed slightly obfuscated as name(at)example(dot)com
|
||||
'postal' => '', Should contain a postal address where you can be reached at (optional)
|
||||
'notes' => '', Additional informations that should be displayed in the Impressum block
|
||||
'footer_text' => '', Text that will be displayed at the bottom of the pages.
|
||||
],
|
||||
return [
|
||||
'impressum' => [
|
||||
'owner' => '', // This is the Name of the Operator
|
||||
'ownerprofile' => '', // This is an optional Friendica account where the above owner name will link to
|
||||
'email' => '', // A contact email address (optional)
|
||||
// Will be displayed slightly obfuscated as name(at)example(dot)com
|
||||
'postal' => '', // Should contain a postal address where you can be reached at (optional)
|
||||
'notes' => '', // Additional informations that should be displayed in the Impressum block
|
||||
'footer_text' => '', // Text that will be displayed at the bottom of the pages.
|
||||
],
|
||||
];
|
||||
|
|
|
@ -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/impressum.config.php in your Friendica directory and set the correct values there
|
||||
|
||||
return [
|
||||
'impressum' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue