[piwik] Update config file style/name

This commit is contained in:
Hypolite Petovan 2018-11-25 02:15:18 -05:00
parent 524937a830
commit 44d7a0b617
4 changed files with 46 additions and 42 deletions

View file

@ -0,0 +1,29 @@
<?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
return [
'piwik' => [
// baseurl (String)
// This URL points to your Piwik installation.
// Use the absolute path, remember trailing slashes but ignore the protocol (http/s) part of the URL.
// Example: baseurl = example.com/piwik/
'baseurl' => '',
// siteid (Integer)
// Change the *sideid* parameter to whatever ID you want to use for tracking your Friendica installation.
'sideid' => '',
// optout (Boolean)
// This defines whether or not a short notice about the utilization of Piwik will be displayed on every
// page of your Friendica site (at the bottom of the page with some spacing to the other content).
// Part of the note is a link that allows the visitor to set an opt-out cookie which will prevent visits
// from that user be tracked by Piwik.
'optout' => true,
// async (Boolean)
// This defines whether or not to use asynchronous tracking so pages load (or appear to load) faster.
'async' => false,
],
];

View file

@ -1,29 +0,0 @@
<?php return <<<INI
; Warning: Don't change this file! It only holds the default config values for this addon.
; Instead overwrite these config values in config/addon.ini.php in your Friendica directory
[piwik]
; baseurl (String)
; This URL points to your Piwik installation.
; Use the absolute path, remember trailing slashes but ignore the protocol (http/s) part of the URL.
; Example: baseurl = example.com/piwik/
baseurl =
; siteid (Integer)
; Change the *sideid* parameter to whatever ID you want to use for tracking your Friendica installation.
sideid =
; optout (Boolean)
; This defines whether or not a short notice about the utilization of Piwik will be displayed on every
; page of your Friendica site (at the bottom of the page with some spacing to the other content).
; Part of the note is a link that allows the visitor to set an opt-out cookie which will prevent visits
; from that user be tracked by Piwik.
optout = true
; async (Boolean)
; This defines whether or not to use asynchronous tracking so pages load (or appear to load) faster.
async = false
INI;
//Keep this line