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:
Diffstat (limited to 'plugins/SEO/RankChecker.php')
-rw-r--r--plugins/SEO/RankChecker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SEO/RankChecker.php b/plugins/SEO/RankChecker.php
index b704db2651..ae4ccf8118 100644
--- a/plugins/SEO/RankChecker.php
+++ b/plugins/SEO/RankChecker.php
@@ -53,7 +53,7 @@ class Piwik_SEO_RankChecker
public function getAlexaRank()
{
$url = $this->url;
- $xml = simplexml_load_file('http://data.alexa.com/data?cli=10&url=' . $url);
+ $xml = simplexml_load_string($this->getPage('http://data.alexa.com/data?cli=10&url=' . $url));
return $xml->SD->POPULARITY['TEXT'];
}