[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

@ -30,14 +30,16 @@ Open the `config/local.config.php` file and add "piwik" to the list of activated
...
]
You can change 4 more configuration variables for the addon in the `config/addon.config.php` file:
You can change 4 more configuration variables for the addon in the `config/piwik.config.php` file:
'piwik' => [
'baseurl' => 'example.com/piwik/',
'sideid' => 1,
'optout' => true,
'async' => false,
],
return [
'piwik' => [
'baseurl' => 'example.com/piwik/',
'sideid' => 1,
'optout' => true,
'async' => false,
],
];
Configuration fields
---------------------