parameter = $params; } public function show() { $protocol = (isset ( $_SERVER ['HTTPS'] ) && $_SERVER ['HTTPS'] != 'off') ? 'https' : 'http'; switch (self::$settings->getGlobalOption ( 'piwik_mode' )) { case 'php' : $PIWIK_URL = $protocol . ':' . self::$settings->getGlobalOption ( 'proxy_url' ); break; case 'cloud' : $PIWIK_URL = 'https://' . self::$settings->getGlobalOption ( 'piwik_user' ) . '.innocraft.cloud/'; break; case 'cloud-matomo': $PIWIK_URL = 'https://' . self::$settings->getGlobalOption ( 'matomo_user' ) . '.matomo.cloud/'; break; default : $PIWIK_URL = self::$settings->getGlobalOption ( 'piwik_url' ); } $this->out ( '' ); } }