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
|
@ -1,16 +1,17 @@
|
|||
Leistungsschutzrecht Addon
|
||||
==========================
|
||||
|
||||
Main author Michael Vogel
|
||||
Main author: Michael Vogel
|
||||
|
||||
This addon handles legal problems with the German link tax, named "Leistungsschutzrecht" by shortening preview texts.
|
||||
Additionally it is possibly to suppress preview pictures completely to avoid any legal problems.
|
||||
Additionally, it is possibly to suppress preview pictures completely to avoid any legal problems.
|
||||
|
||||
## configuration
|
||||
## Configuration
|
||||
|
||||
If you want to suppress pictures in previews, add this to your global `config/addon.config.php`:
|
||||
|
||||
'leistungsschutzrecht' => [
|
||||
'suppress_photos' => true,
|
||||
],
|
||||
If you want to suppress pictures in previews, add this to your global `config/leistungsschutzrecht.config.php`:
|
||||
|
||||
return [
|
||||
'leistungsschutzrecht' => [
|
||||
'suppress_photos' => true,
|
||||
],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue