mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 19:08:49 +00:00
[piwik] Add addon config
- Update mentions of .htconfig.php
This commit is contained in:
parent
d9808fecdf
commit
e20f30888f
3 changed files with 57 additions and 18 deletions
|
@ -25,18 +25,20 @@ your ~friendica server and then enter the needed details on the config page
|
|||
for the addon.
|
||||
|
||||
If you don't want to use the admin panel, you can configure the addon through
|
||||
the .htconfig file.
|
||||
the config/local.ini.php file.
|
||||
|
||||
Open the .htconfig.php file and add "piwik" to the list of activated addons.
|
||||
Open the config/local.ini.php file and add "piwik" to the list of activated addons.
|
||||
|
||||
$a->config['system']['addon'] = "piwik, ..."
|
||||
[system]
|
||||
addon = ...,piwik
|
||||
|
||||
You have to add 4 more configuration variables for the addon:
|
||||
You can change 4 more configuration variables for the addon:
|
||||
|
||||
$a->config['piwik']['baseurl'] = 'example.com/piwik/';
|
||||
$a->config['piwik']['sideid'] = '1';
|
||||
$a->config['piwik']['optout'] = true;
|
||||
$a->config['piwik']['async'] = false;
|
||||
[piwik]
|
||||
baseurl = example.com/piwik/
|
||||
sideid = 1
|
||||
optout = true
|
||||
async = false
|
||||
|
||||
Configuration fields
|
||||
---------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue