From fe83d45c465bad94709ce5aacf7acad47ad75077 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 9 Mar 2017 20:51:28 +0100 Subject: Fix #773: set Piwik URL protocol --- application/Updater.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'application/Updater.php') diff --git a/application/Updater.php b/application/Updater.php index 27cb2f0a..fd7e2073 100644 --- a/application/Updater.php +++ b/application/Updater.php @@ -1,6 +1,7 @@ conf->exists('plugins.PIWIK_URL') || startsWith($this->conf->get('plugins.PIWIK_URL'), 'http')) { + return true; + } + + $this->conf->set('plugins.PIWIK_URL', 'http://'. $this->conf->get('plugins.PIWIK_URL')); + $this->conf->write($this->isLoggedIn); + return true; + } } /** -- cgit v1.2.3