forked from science-ation/science-ation
Add a few more missing "exit" calls after a header("Location");
This commit is contained in:
parent
ec28dcfb7a
commit
0de2bfeef0
@ -2,4 +2,5 @@
|
||||
exec("nice php judges_sa.php >/dev/null 2>&1 &");
|
||||
usleep(1000000); // 1 second to allow the judges_sa to update the % status to 0% otherwise the status page will think its not running if it gets there too soon
|
||||
header("Location: judges_scheduler_status.php");
|
||||
exit;
|
||||
?>
|
||||
|
@ -55,6 +55,7 @@
|
||||
|
||||
//now redirect to jduges main
|
||||
header("Location: register_judges_main.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
@ -72,6 +73,7 @@
|
||||
$_SESSION['judges_lastlogin']=$r->lastlogin;
|
||||
mysql_query("UPDATE judges SET lastlogin=NOW() WHERE id='$r->id'");
|
||||
header("Location: register_judges_main.php");
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -120,7 +122,10 @@
|
||||
}
|
||||
|
||||
if($_SESSION['email'] && $_SESSION['judges_id'])
|
||||
{
|
||||
header("Location: register_judges_main.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
send_header("Judges Registration");
|
||||
|
||||
|
@ -129,6 +129,7 @@
|
||||
if($_SESSION['registration_number'] && $_SESSION['registration_id'] && $_SESSION['email'])
|
||||
{
|
||||
header("Location: register_participants_main.php");
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
|
@ -263,6 +263,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
|
||||
else
|
||||
{
|
||||
header("Location: schoolaccess.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user