mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-03-10 20:41:04 +00:00
fix condition
This commit is contained in:
parent
5ee01c0f80
commit
075b4da359
@ -33,7 +33,7 @@ foreach (json_decode(file_get_contents(__DIR__ . '/../../config/nodes.json')) as
|
|||||||
$thisUrl = Yggverse\Parser\Url::parse(WEBSITE_URL);
|
$thisUrl = Yggverse\Parser\Url::parse(WEBSITE_URL);
|
||||||
$manifestUrl = Yggverse\Parser\Url::parse($node->manifest);
|
$manifestUrl = Yggverse\Parser\Url::parse($node->manifest);
|
||||||
|
|
||||||
if (empty($manifestUrl->host->name) ||
|
if (empty($thisUrl->host->name) ||
|
||||||
empty($manifestUrl->host->name) ||
|
empty($manifestUrl->host->name) ||
|
||||||
$manifestUrl->host->name == $thisUrl->host->name) // @TODO some mirrors could be available, improve condition
|
$manifestUrl->host->name == $thisUrl->host->name) // @TODO some mirrors could be available, improve condition
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user