Skip to content
Snippets Groups Projects
Commit 2693b6b1 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update MetaGer.php

parent 8a08a836
No related branches found
No related tags found
1 merge request!1036Development
...@@ -448,7 +448,7 @@ class MetaGer ...@@ -448,7 +448,7 @@ class MetaGer
if (strpos($link, "http") !== 0) { if (strpos($link, "http") !== 0) {
$link = "http://" . $link; $link = "http://" . $link;
} }
$info = parse_url($url); $info = parse_url($link);
if(isset($info["host"])){ if(isset($info["host"])){
$host = $info['host']; $host = $info['host'];
if(strpos($host, "amazon") !== FALSE){ if(strpos($host, "amazon") !== FALSE){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment