diff --git a/admin/judges_sa_launcher.php b/admin/judges_sa_launcher.php index 8832481..c28aa39 100644 --- a/admin/judges_sa_launcher.php +++ b/admin/judges_sa_launcher.php @@ -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; ?> diff --git a/register_judges.php b/register_judges.php index 9fe8ef8..1e32d35 100644 --- a/register_judges.php +++ b/register_judges.php @@ -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"); diff --git a/register_participants.php b/register_participants.php index 210eff0..9b986c1 100644 --- a/register_participants.php +++ b/register_participants.php @@ -129,6 +129,7 @@ if($_SESSION['registration_number'] && $_SESSION['registration_id'] && $_SESSION['email']) { header("Location: register_participants_main.php"); + exit; } diff --git a/schoolinvite.php b/schoolinvite.php index 6e8e5ef..4e69efc 100644 --- a/schoolinvite.php +++ b/schoolinvite.php @@ -263,6 +263,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']) else { header("Location: schoolaccess.php"); + exit; } ?>