Skip to content

Commit

Permalink
CanonicalLink fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
isofarro committed Nov 16, 2009
1 parent 959ae3d commit 2c49d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CanonicalLink.php
Expand Up @@ -53,7 +53,7 @@ public function getCanonicalLink($url, $follow=true, $stack=array()) {
$location = $response->getHeader('Location');
//echo "Response redirecting to: {$location}\n";
if (!$location) {
echo "WARN: Response Redirect Location could not be determined.\n";
echo "WARN: Response Redirect Location could not be determined.\n[{$url}]\n";
print_r($response);
return;
} elseif (in_array($location, $stack)) {
Expand Down

0 comments on commit 2c49d85

Please sign in to comment.