remove dev code
This commit is contained in:
parent
7f228274e1
commit
7718864077
|
@ -23,9 +23,6 @@ function isValidUrl( ? string $url, ? string $hostname) : bool
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<pre>', var_dump($hostname), '</pre>';
|
|
||||||
die;
|
|
||||||
|
|
||||||
return parse_url($url)['host'] !== $hostname;
|
return parse_url($url)['host'] !== $hostname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue