From 1d6c0c95307ed5781f7f1650ed228fc05a60d422 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 17 Dec 2007 21:37:22 +0000 Subject: [PATCH] Remove committee auth check and replace with commandline only check -- This allows the judges scheduler to actually run again! --- admin/judges_sa.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/judges_sa.php b/admin/judges_sa.php index c1765e7..5e7dc32 100644 --- a/admin/judges_sa.php +++ b/admin/judges_sa.php @@ -28,7 +28,11 @@ require("../projects.inc.php"); require("judges.inc.php"); require("anneal.inc.php"); - user_auth_required('committee','admin'); + +if($_SERVER['SERVER_ADDR']) { + echo "This script must be run from the command line"; + exit; +} /* send_header("Judging teams automatic scheduler");