mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 09:35:28 +00:00
fix rss accessibility
This commit is contained in:
parent
176af0a7e6
commit
e20439c91d
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue