Move addon-specific config to config/addon.ini.php

This commit is contained in:
Hypolite Petovan 2018-07-11 22:56:52 -04:00
parent 7ee6c3a20c
commit 6c443aeaf0
28 changed files with 30 additions and 30 deletions

View file

@ -16,7 +16,7 @@
*
* Configuration:
* Use the administration panel to configure the Piwik tracking addon, or
* in case you don't use this add the following lines to your config/local.ini.php
* in case you don't use this add the following lines to your config/addon.ini.php
* file:
*
* [piwik]
@ -63,7 +63,7 @@ function piwik_analytics($a,&$b) {
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/piwik/piwik.css' . '" media="all" />';
/*
* Get the configuration variables from the config/local.ini.php file.
* Get the configuration variables from the config/addon.ini.php file.
*/
$baseurl = Config::get('piwik', 'baseurl');
$siteid = Config::get('piwik', 'siteid');