From 720d53da6d399740b96b90ef554b739959d64f83 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Wed, 7 Oct 2020 23:57:03 +0200 Subject: [PATCH] more switching of paths to matomo --- app/authutils.php-class | 2 +- etc/kairo/auth_settings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/", } -- 2.43.0