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:
authormattpiwik <matthieu.aubry@gmail.com>2013-01-15 20:41:26 +0400
committermattpiwik <matthieu.aubry@gmail.com>2013-01-15 20:41:26 +0400
commit97c70b2af7beb5107fcdee42b997c185d78b5735 (patch)
tree3a35f8bd0269ed32a29b46f4c61757525dfad39d /plugins/SEO
parentbae81d16b3668ec7dbdccf8626610c3743c7d239 (diff)
Fix Warning: file_get_contents(http://wayback.archive.org/web/*/powderlines.ch) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in (path_to_piwik)/core/Http.php on line 417
Fixes #3670 git-svn-id: http://dev.piwik.org/svn/trunk@7757 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/SEO')
-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 4ff4867d07..3eb5dfa95c 100644
--- a/plugins/SEO/RankChecker.php
+++ b/plugins/SEO/RankChecker.php
@@ -180,7 +180,7 @@ class Piwik_SEO_RankChecker
protected function _getAgeArchiveOrg()
{
$url = str_replace('www.', '', $this->url);
- $data = $this->getPage('http://wayback.archive.org/web/*/' . urlencode($url));
+ $data = @$this->getPage('http://wayback.archive.org/web/*/' . urlencode($url));
preg_match('#<a href=\"([^>]*)' . preg_quote($url) . '/\">([^<]*)<\/a>#', $data, $p);
if (!empty($p[2])) {
$value = strtotime($p[2]);