mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 07:27:58 +00:00
fix rss accessibility
This commit is contained in:
parent
176af0a7e6
commit
e20439c91d
@ -72,7 +72,7 @@ else if (!$user = $db->getUser($userId))
|
||||
}
|
||||
|
||||
// On first visit, redirect user to the welcome page with access level question
|
||||
else if (is_null($user->public))
|
||||
else if (is_null($user->public) && !isset($_GET['rss']))
|
||||
{
|
||||
header(
|
||||
sprintf('Location: %s/welcome.php', WEBSITE_URL)
|
||||
|
@ -69,7 +69,7 @@ else if (!$magnet = $db->getMagnet(isset($_GET['magnetId']) ? (int) $_GET['magne
|
||||
}
|
||||
|
||||
// On first visit, redirect user to the welcome page with access level question
|
||||
else if (is_null($user->public))
|
||||
else if (is_null($user->public) && !isset($_GET['rss']))
|
||||
{
|
||||
header(
|
||||
sprintf('Location: %s/welcome.php', WEBSITE_URL)
|
||||
|
Loading…
Reference in New Issue
Block a user