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
|
@ -6,12 +6,14 @@ Testdrive is a Friendica addon which implements automatic account expiration so
|
|||
|
||||
When an account is created on the site, it is given a hard expiration date of
|
||||
|
||||
'testdrive' => [
|
||||
'expiredays' => 30,
|
||||
],
|
||||
return [
|
||||
'testdrive' => [
|
||||
'expiredays' => 30,
|
||||
],
|
||||
];
|
||||
|
||||
Set this in your `config/addon.config.php` file to allow a 30 day test drive period.
|
||||
By default no expiration period is defined in case the addon is activated accidentally.
|
||||
Set this in your `config/testdrive.config.php` file to allow a 30-day test drive period.
|
||||
By default, no expiration period is defined in case the addon is activated accidentally.
|
||||
|
||||
There is no opportunity to extend an expired account using this addon.
|
||||
Expiration is final.
|
||||
|
|
|
@ -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/testdrive.config.php in your Friendica directory and set the correct values there
|
||||
|
||||
return [
|
||||
'testdrive' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue