Redirect to default page if referer isn't set
Instead of displaying `You should be redirected to <a href=""></a>`
This commit is contained in:
parent
7a95325a5f
commit
c215d6991a
@ -53,6 +53,7 @@ class MassTagger extends Extension {
|
||||
}
|
||||
|
||||
$page->set_mode("redirect");
|
||||
if(!isset($_SERVER['HTTP_REFERER'])) $_SERVER['HTTP_REFERER'] = make_link();
|
||||
$page->set_redirect($_SERVER['HTTP_REFERER']);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user