Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-06-11 06:57:01 +0300
committermattab <matthieu.aubry@gmail.com>2015-06-11 06:57:01 +0300
commit1ab1ca62dd6f28cd0cdc63f5575cedaac6305200 (patch)
tree1d2e7761bad164616e6822bf2e74b9f82ca82166 /plugins/SitesManager/API.php
parentce3538961e468069419d949bd7a302c682b42cb0 (diff)
getSitesIdFromSiteUrl should match when website url has unusual scheme eg. fb://example-host
Diffstat (limited to 'plugins/SitesManager/API.php')
-rw-r--r--plugins/SitesManager/API.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SitesManager/API.php b/plugins/SitesManager/API.php
index 933ba5f186..e6505320ad 100644
--- a/plugins/SitesManager/API.php
+++ b/plugins/SitesManager/API.php
@@ -418,6 +418,7 @@ class API extends \Piwik\Plugin\API
// return all variations of the URL
return array(
+ $url,
"http://" . $hostname,
"http://www." . $hostname,
"https://" . $hostname,