From: Robert Kaiser Date: Wed, 7 Oct 2020 21:57:03 +0000 (+0200) Subject: more switching of paths to matomo X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=720d53da6d399740b96b90ef554b739959d64f83;p=authserver.git more switching of paths to matomo --- diff --git a/app/authutils.php-class b/app/authutils.php-class index f941310..d2737d9 100755 --- a/app/authutils.php-class +++ b/app/authutils.php-class @@ -121,7 +121,7 @@ class AuthUtils { // Sanitize settings. $this->settings['piwik_enabled'] = (@$this->settings['piwik_enabled']) ? true : false; $this->settings['piwik_site_id'] = intval(@$this->settings['piwik_site_id']); - $this->settings['piwik_url'] = strlen(@$this->settings['piwik_url']) ? $this->settings['piwik_url'] : '/piwik/'; + $this->settings['piwik_url'] = strlen(@$this->settings['piwik_url']) ? $this->settings['piwik_url'] : '/matomo/'; $this->settings['piwik_tracker_path'] = strlen(@$this->settings['piwik_tracker_path']) ? $this->settings['piwik_tracker_path'] : '../vendor/matomo/matomo-php-tracker/'; $this->settings['skin'] = (@$this->settings['skin'] && is_dir('skin/'.$this->settings['skin'])) ? $this->settings['skin'] : 'default'; $this->settings['operator_name'] = (@$this->settings['operator_name']) ? $this->settings['operator_name'] : 'Example'; diff --git a/etc/kairo/auth_settings.json b/etc/kairo/auth_settings.json index 164b2bd..59749d5 100644 --- a/etc/kairo/auth_settings.json +++ b/etc/kairo/auth_settings.json @@ -13,7 +13,7 @@ "operator_contact_url": "https://github.com/KaiRo_at/authserver/", "info_from_email": "noreply@example.com", "piwik_enabled": false, -"piwik_url": "/piwik/", +"piwik_url": "/matomo/", "piwik_site_id": 1, "piwik_tracker_path": "/srv/www/matomo/vendor/matomo/matomo-php-tracker/", }